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

test-933.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2f076ebd25426df4ed08dbc65d171c985b7e8761 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using System;

class X
{
	static int Foo (params X[] p)
	{
		return 1;
	}

	static int Foo (object p)
	{
		return 0;
	}

	static int Main ()
	{
		if (Foo ((X[]) null) != 1)
			return 1;

		return 0;
	}
}