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

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

class X
{
	static int Test (string format, params object[] args)
	{
		return 1;
	}

	static int Test (string format, __arglist)
	{
		return 2;
	}

	public static int Main ()
	{
		if (Test ("Hello", 1, 2, "World") != 1)
			return 1;
		if (Test ("Hello", __arglist ("Boston")) != 2)
			return 2;
		return 0;
	}
}