blob: 9e3db00a5ce69f4478d6ef5fda2ba6e0c9c75c54 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
//
// Mono.ILASM.Tests
//
// Author(s):
// Jackson Harper (Jackson@LatitudeGeo.com)
//
// (C) 2003 Jackson Harper, All rights reserved
//
.assembly extern mscorlib { }
//
// Declare a local object instantiate it and print it to stdout
//
.namespace Mono.ILASM.Tests {
.class public auto ansi Test_2 extends [mscorlib]System.Object {
.method public static void main () cil managed {
.entrypoint
.maxstack 1
.locals init (object obj)
newobj instance void [mscorlib]System.Object::.ctor()
stloc.0
ldloc.0
call void [mscorlib]System.Console::WriteLine(object)
ret
}
}
}
|