* roottypes.cs: Rename from tree.cs.
[mono.git] / mono / tests / unreachable-code.cs
1 using System;
2
3 // You need to compile this test with mcs:
4 // csc will discard unreachable code sections
5
6 namespace Test {
7         public class Test {
8                 public static int Main () {
9                         int var = 0;
10                         goto label2;
11                         label1:
12                         goto label2;
13                         label2:
14                         return var;
15                 }
16         }
17 }