* test-3.il: Add file
[mono.git] / mcs / ilasm / tests / test-3.il
1 //
2 // Mono.ILASM.Tests
3 //
4 // Author(s):
5 //  Jackson Harper (Jackson@LatitudeGeo.com)
6 //
7 // (C) 2003 Jackson Harper, All rights reserved
8 //
9 .assembly extern mscorlib { }
10 .assembly HelloWorld { }
11 .module HelloWorld.exe
12
13 .namespace Mono.ILASM.Tests {
14
15         .class public auto ansi Test_3 extends [mscorlib]System.Object {
16         
17                 .method public static void check( ) cil managed {
18                         .entrypoint
19                         .maxstack 1     
20                         
21                         call void Test_3::print_hello()
22
23                         ret
24                 }
25
26                 .method private static void print_hello() cil managed {
27                         ldstr "Hello, World!"
28                         call void [corlib]System.Console::WriteLine(string)
29                 }
30         
31         }
32 }
33