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