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

test-partial-20.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 201936982e7a5294fef282bd50a6e71363d73d56 (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
using System;

partial class A
{
}

partial class A
{
	public static int F = 3;
}

partial class B
{
	public static int F = 4;	
}

partial class B
{
}


public class C
{
	public static int Main ()
	{
		if (A.F != 3)
			return 1;
		
		if (B.F != 4)
			return 2;
		
		Console.WriteLine ("OK");
		return 0;
	}
}