2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / ilasm / tests / test-1.il
index 44b2f5947f5b024db84c87345c48947c6b1698d7..d1503a104795485863494625ec3c1c1b06b9f40c 100644 (file)
@@ -1,17 +1,27 @@
+//
+// Mono.ILASM.Tests
+//
+// Author(s):
+//  Jackson Harper (Jackson@LatitudeGeo.com)
+//
+// (C) 2003 Jackson Harper, All rights reserved
+//
 .assembly extern mscorlib { }
-.assembly HelloWorld { }
-.module HelloWorld.exe
 
-.class public auto ansi Hello extends [mscorlib]System.Object {
-       
-       .method public static void check( ) cil managed {
-               .entrypoint
-               .maxstack 1     
-       
-               ldstr "Hello World."
-               call void [corlib]System.Console::WriteLine(string)
-       
-               ret
-       }               
+//
+// Declare a namespace, a class, and a method
+//
+
+.namespace Mono.ILASM.Tests {
+
+       .class public auto ansi Test_1 extends [mscorlib]System.Object {
+
+               .method public static void check(string) cil managed {
+                       .entrypoint
+                       .maxstack 1     
+
+                        nop                    
+               }               
+       }
 }