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-24.il')
-rw-r--r--mcs/ilasm/tests/test-24.il34
1 files changed, 34 insertions, 0 deletions
diff --git a/mcs/ilasm/tests/test-24.il b/mcs/ilasm/tests/test-24.il
new file mode 100644
index 00000000000..7153cf383a5
--- /dev/null
+++ b/mcs/ilasm/tests/test-24.il
@@ -0,0 +1,34 @@
+//
+// 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 private static string global_string
+
+ .method private static void .cctor ()
+ {
+ ldstr "PASS"
+ stsfld string global_string
+ ret
+ }
+
+ .method public static void Main ()
+ {
+ .entrypoint
+
+ ldsfld string global_string
+
+ call void [mscorlib]System.Console::WriteLine (string)
+
+ ret
+ }
+
+}