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/errors/err-field-dup1.il')
-rw-r--r--mcs/ilasm/errors/err-field-dup1.il19
1 files changed, 19 insertions, 0 deletions
diff --git a/mcs/ilasm/errors/err-field-dup1.il b/mcs/ilasm/errors/err-field-dup1.il
new file mode 100644
index 00000000000..6b91cbada7a
--- /dev/null
+++ b/mcs/ilasm/errors/err-field-dup1.il
@@ -0,0 +1,19 @@
+//Test for duplicate field names with
+//Primitive types
+
+.assembly extern mscorlib
+{
+}
+.assembly 'field-dup-1'
+{
+ .ver 0:0:0:0
+}
+
+ .class private auto ansi beforefieldinit test
+ extends [mscorlib]System.Object
+ {
+ .field private static int32 i
+ .field private static int32 i
+
+ } // end of class test
+