2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / ilasm / tests / test-3.il
index 34d933a2adb56bd48b6902edcf041f0eaf6fe7f5..8724c3fe1384d895cb4d850a8b6d3ff01d3c399c 100644 (file)
@@ -6,25 +6,27 @@
 //
 // (C) 2003 Jackson Harper, All rights reserved
 //
-.assembly extern mscorlib { }
-.assembly HelloWorld { }
-.module HelloWorld.exe
+.assembly extern corlib { }
+
+//
+// Define a method and execute that method
+//
 
 .namespace Mono.ILASM.Tests {
 
-       .class public auto ansi Test_3 extends [mscorlib]System.Object {
+       .class public auto ansi Test_3 extends [corlib]System.Object {
        
                .method public static void check( ) cil managed {
                        .entrypoint
                        .maxstack 1     
                        
-                       call void Test_3::print_hello()
+                       call void Mono.ILASM.Tests.Test_3::print_hello()
 
                        ret
                }
 
                .method private static void print_hello() cil managed {
-                       ldstr "Hello, World!"
+                       ldstr "PASS"
                        call void [corlib]System.Console::WriteLine(string)
                }