Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test-4.il « tests « ilasm « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b79a85beed36e8c520086c730de2a24d101cb086 (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
34
35
36
//
// Mono.ILASM.Tests
//
// Author(s):
//  Jackson Harper (Jackson@LatitudeGeo.com)
//
// (C) 2003 Jackson Harper, All rights reserved
//
.assembly extern corlib { }

//
// Pass a param to a method
//

.namespace Mono.ILASM.Tests {

	.class public auto ansi Test_4 extends [corlib]System.Object {
	
		.method public static void check( ) cil managed {
			.entrypoint
			.maxstack 1	
			
			ldstr "PASS"
			call void Mono.ILASM.Tests.Test_4::print_string(string)

			ret
		}

		.method private static void print_string(string) cil managed {
			ldarg.0
			call void [corlib]System.Console::WriteLine(string)
		}
	
	}
}