This commit was manufactured by cvs2svn to create branch 'mono-1-0'.
[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 corlib { }
10
11 //
12 // Define a method and execute that method
13 //
14
15 .namespace Mono.ILASM.Tests {
16
17         .class public auto ansi Test_3 extends [corlib]System.Object {
18         
19                 .method public static void check( ) cil managed {
20                         .entrypoint
21                         .maxstack 1     
22                         
23                         call void Mono.ILASM.Tests.Test_3::print_hello()
24
25                         ret
26                 }
27
28                 .method private static void print_hello() cil managed {
29                         ldstr "PASS"
30                         call void [corlib]System.Console::WriteLine(string)
31                 }
32         
33         }
34 }
35