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

test-385.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b91c61a52eb2bac31183c17580b0e4b64ed6deef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class Test {
        public static int Main ()
        {
                int i = 5;
                switch (i) {
                case 5:
                        if (i == 5)
                                break;
                        return 1;
                default:
                        return 2;
                }
                System.Console.WriteLine (i);
		return 0;
        }
}