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

test-462.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e614bc4c5f6cc34a902a27efed86cabf81b1aefe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
class X {
	bool ok = false;
	
	void Method (X x)
	{
	}

	void Method (string x)
	{
		ok = true;
	}

	public static int Main ()
	{
		X x = new X ();

		x.Method ((string) null);
		if (x.ok)
			return 0;
		return 1;
	}
}