Merge pull request #3422 from xmcclure/tarjan-doublefan
[mono.git] / mcs / ilasm / tests / test-2.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
11 //
12 // Declare a local object instantiate it and print it to stdout
13 //
14
15 .namespace Mono.ILASM.Tests {
16
17         .class public auto ansi Test_2 extends [mscorlib]System.Object {
18         
19                 .method public static void main () cil managed {
20                         .entrypoint
21                         .maxstack 1     
22                         .locals init (object obj)
23
24                         newobj instance void [mscorlib]System.Object::.ctor()
25                         stloc.0 
26                         ldloc.0 
27                         call void [mscorlib]System.Console::WriteLine(object)
28                 
29                         ret
30                 }               
31         }
32 }
33