diff options
Diffstat (limited to 'mcs/ilasm/errors/err-field-dup6-gen.il')
-rw-r--r-- | mcs/ilasm/errors/err-field-dup6-gen.il | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/mcs/ilasm/errors/err-field-dup6-gen.il b/mcs/ilasm/errors/err-field-dup6-gen.il new file mode 100644 index 00000000000..de10c43ef37 --- /dev/null +++ b/mcs/ilasm/errors/err-field-dup6-gen.il @@ -0,0 +1,22 @@ +//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 class foo`1<!T> p + .field private class foo`1<!0> p + } + |