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/tests/test-20.il')
-rw-r--r--mcs/ilasm/tests/test-20.il29
1 files changed, 29 insertions, 0 deletions
diff --git a/mcs/ilasm/tests/test-20.il b/mcs/ilasm/tests/test-20.il
new file mode 100644
index 00000000000..989f4259e4e
--- /dev/null
+++ b/mcs/ilasm/tests/test-20.il
@@ -0,0 +1,29 @@
+//
+// Mono.ILASM.Tests
+//
+// Author(s):
+// Jackson Harper (Jackson@LatitudeGeo.com)
+//
+// (C) 2003 Jackson Harper, All rights reserved
+//
+.assembly extern corlib { }
+
+.namespace Mono.ILASM.Tests {
+
+ .method public static void global_method () {
+ ldstr "PASS"
+ call void [corlib]System.Console::WriteLine (string)
+ ret
+ }
+
+ .class public auto ansi Test_20 extends [corlib]System.Object {
+
+ .method public static void check( ) cil managed {
+ .entrypoint
+ call void global_method ()
+ ret
+ }
+
+ }
+
+}