Update pipeline-netcore-runtime.yml
[mono-project.git] / mcs / tests / test-941.cs
blobf5d90c046fb315d3dd86ad38ca45d88ba4505b19
1 public class GotoCodeFlowBug
3 public static void Test (bool cond, out int x)
5 if (cond)
7 goto Label;
9 Label:
10 x = 0;
13 public static void Test2 (bool cond, out int x)
15 if (cond)
17 goto Label;
19 else
21 goto Label;
23 Label:
24 x = 0;
27 public static void Main ()