Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/ilasm/tests/test-nonsealed-valueclass.il')
-rw-r--r--mcs/ilasm/tests/test-nonsealed-valueclass.il7
1 files changed, 7 insertions, 0 deletions
diff --git a/mcs/ilasm/tests/test-nonsealed-valueclass.il b/mcs/ilasm/tests/test-nonsealed-valueclass.il
new file mode 100644
index 00000000000..368031bc0e3
--- /dev/null
+++ b/mcs/ilasm/tests/test-nonsealed-valueclass.il
@@ -0,0 +1,7 @@
+// Test for a non-sealed value class
+// ilasm gives a warning and seals the class
+
+.class public test
+ extends [mscorlib]System.ValueType
+{
+}