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

test-858.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 78fe95c4d02816fc59f05a8deeb090c5388b028c (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
// Compiler options: -r:test-858-lib.dll

using System;

class X
{
	public static int Main ()
	{
		Bar bar = new Bar ();
		if (bar.Message != "bar")
			return 1;

		Foo foo = new Foo ();
		if (foo.Message != "foo")
			return 2;

		C c = new C ();
		c.get_Value ();
		c.add_Arg (false);
        
		Console.WriteLine ("Test ok");
		return 0;
	}
}