diff options
Diffstat (limited to 'mcs/ilasm/errors/err-field-dup7-gen.il')
-rw-r--r-- | mcs/ilasm/errors/err-field-dup7-gen.il | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/mcs/ilasm/errors/err-field-dup7-gen.il b/mcs/ilasm/errors/err-field-dup7-gen.il new file mode 100644 index 00000000000..e51b90a4eb6 --- /dev/null +++ b/mcs/ilasm/errors/err-field-dup7-gen.il @@ -0,0 +1,23 @@ +//Test for fields with same name but different types +//GenericTypeInst + +.assembly extern mscorlib +{ + .ver 1:0:5000:0 +} + +.assembly 'field-dup' +{ + .ver 0:0:0:0 +} +.module 'field-dup.exe' + + + .class private auto ansi beforefieldinit test`1 <T> + extends [mscorlib]System.Object + { + .field private !0 p + .field private !T p + + } + |