New test.
[mono.git] / mcs / errors / cs0162-8.cs
1 // CS0162: Unreachable code detected\r
2 // Line: 9\r
3 // Compiler options: -warnaserror -warn:2\r
4 \r
5 class C\r
6 {\r
7         public static int Main ()\r
8         {\r
9                 if (true == false)\r
10                         return 1;\r
11                 \r
12                 return 2;\r
13         }\r
14 }