resync
[mcs.git] / errors / cs0177-7.cs
blob980c74a58647480eb9c2ad1a50afa28713462ed5
1 // cs0177-7.cs: The out parameter `a' must be assigned to before control leaves the current method
2 // Line: 6
4 class Foo {
5 static void test39 (out int a)
7 int x_0 = 0;
8 int ll_1 = 0;
10 switch (0) {
11 default:
12 switch (x_0) {
13 default:
14 if (ll_1 == 0)
15 break;
16 else
17 goto k_1;
19 a = 5;
20 break;
21 k_1:
22 break;
26 static void Main () { int x; test39 (out x); }