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

dtest-named-01.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8a1e5dfc1b3aff30ca5b3a93e60c1cce7c22c795 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
public class Test
{
	public void Foo (out int arg)
	{
		arg = 5;
	}

	public static int Main ()
	{
		dynamic d = new Test ();
		int x;
		d.Foo (arg: out x);
		if (x != 5)
			return 1;

		return 0;
	}
}