diff options
Diffstat (limited to 'mcs/ilasm/tests/test-22.il')
-rw-r--r-- | mcs/ilasm/tests/test-22.il | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/mcs/ilasm/tests/test-22.il b/mcs/ilasm/tests/test-22.il new file mode 100644 index 00000000000..4f88d6e4ba3 --- /dev/null +++ b/mcs/ilasm/tests/test-22.il @@ -0,0 +1,28 @@ +// +// Mono.ILASM.Tests +// +// Author(s): +// Jackson Harper (Jackson@LatitudeGeo.com) +// +// (C) 2003 Jackson Harper, All rights reserved +// +.assembly extern corlib { } + +.namespace Mono.ILASM.Tests { + + .field public static string global_field = "jackson" + + .class public auto ansi Test_22 extends [corlib]System.Object { + + .method public static void check( ) cil managed { + .entrypoint + + ldfld string global_field + call void [corlib]System.Console::WriteLine (string) + + ret + } + + } + +} |