diff options
Diffstat (limited to 'mcs/ilasm/tests/test-34.il')
-rw-r--r-- | mcs/ilasm/tests/test-34.il | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/mcs/ilasm/tests/test-34.il b/mcs/ilasm/tests/test-34.il new file mode 100644 index 00000000000..739edad7867 --- /dev/null +++ b/mcs/ilasm/tests/test-34.il @@ -0,0 +1,76 @@ +.assembly extern mscorlib
+{
+}
+.assembly bb
+{
+ .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilationRelaxationsAttribute::.ctor(int32) = ( 01 00 08 00 00 00 00 00 )
+ .hash algorithm 0x00008004
+ .ver 0:0:0:0
+}
+.module bb.exe
+
+.class private auto ansi beforefieldinit GenParAttribute
+ extends [mscorlib]System.Attribute
+{
+ .custom instance void [mscorlib]System.AttributeUsageAttribute::.ctor(valuetype [mscorlib]System.AttributeTargets) = ( 01 00 00 40 00 00 00 00 )
+ .method public hidebysig specialname rtspecialname
+ instance void .ctor() cil managed
+ {
+ .maxstack 8
+ IL_0000: ldarg.0
+ IL_0001: call instance void [mscorlib]System.Attribute::.ctor()
+ IL_0006: ret
+ }
+
+}
+
+.class private auto ansi beforefieldinit cons`1<A>
+ extends [mscorlib]System.Object
+{
+ .param type [1]
+ .custom instance void GenParAttribute::.ctor() = ( 01 00 00 00 )
+ .method public hidebysig instance void
+ abc<M>() cil managed
+ {
+ .param type [1]
+ .custom instance void GenParAttribute::.ctor() = ( 01 00 00 00 )
+ // Code size 2 (0x2)
+ .maxstack 8
+ IL_0000: nop
+ IL_0001: ret
+ }
+
+ .method public hidebysig specialname rtspecialname
+ instance void .ctor() cil managed
+ {
+ .maxstack 8
+ IL_0000: ldarg.0
+ IL_0001: call instance void [mscorlib]System.Object::.ctor()
+ IL_0006: ret
+ }
+
+}
+
+.class private auto ansi beforefieldinit Test
+ extends [mscorlib]System.Object
+{
+ .method public hidebysig static void Main() cil managed
+ {
+ .entrypoint
+ // Code size 2 (0x2)
+ .maxstack 8
+ IL_0000: nop
+ IL_0001: ret
+ }
+
+ .method public hidebysig specialname rtspecialname
+ instance void .ctor() cil managed
+ {
+ .maxstack 8
+ IL_0000: ldarg.0
+ IL_0001: call instance void [mscorlib]System.Object::.ctor()
+ IL_0006: ret
+ }
+
+}
+
|