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

gtest-420.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a4feb91829cd23863b97c0ddadaae68870b5c91e (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
using System;
using System.Collections.Generic;

class C
{
}

class TestClass
{
	static int Test (object a, object b, params object[] args)
	{
		return 0;
	}
	
	static int Test (object a, params object[] args)
	{
		return 1;
	}
	
	public static int Main ()
	{
		C c = new C ();
		Test (c, c, new object [0]);
		
		var v = new Func<C, C, object[], int>(Test);
		
		return v (null, null, null);
	}
}