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

test-620.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 96b13184d1410789edc5ce16f26279f82e241fa6 (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
//
// fixed
//
class X {

	static void A (ref int a)
	{
		a++;
	}

	// Int32&
	static void B (ref int a)
	{
		// Int32&&
		A (ref a);
	}

	public static int Main ()
	{
		int a = 10;

		B (ref a);

		if (a == 11)
			return 0;
		else
			return 1;
	}
}