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

test-544.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5f93ad0dc0f0543382a771c3490c5b9649db873e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
enum ByteEnum : byte {
	One = 1,
	Two = 2
}

class X {
	static void Main ()
	{
		ByteEnum b = ByteEnum.One;
		
		switch (b){
		case ByteEnum.One : return;
		case ByteEnum.One | ByteEnum.Two: return;
		}
	}
}