Imported Upstream version 3.6.0

Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
This commit is contained in:
Jo Shields
2014-08-13 10:39:27 +01:00
commit a575963da9
50588 changed files with 8155799 additions and 0 deletions

33
mcs/ilasm/tests/test-2.il Normal file
View File

@@ -0,0 +1,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
}
}
}