summaryrefslogtreecommitdiff
path: root/mcs/tests/gtest-049.cs
blob: 1cbe951de61001e78cd9c6e180dacbfc787895e8 (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
37
38
39
40
41
42
43
// Important test: compare this to gcs0408-*.cs; these are the allowed cases.

class X<T>
{
	void A (T t)
	{ }

	void A (T[] t)
	{ }

	void A (T[,] t)
	{ }

	void A (T[][] t)
	{ }

	void B (T[] t)
	{ }

	void B (int t)
	{ }

	void C (T[] t)
	{ }

	void C (T[,] t)
	{ }

	void C (int[,,] t)
	{ }

	void D (int x, T y)
	{ }

	void D (T x, long y)
	{ }
}

class Foo
{
	public static void Main ()
	{ }
}