Updated with review feedback.
[mono.git] / mcs / errors / cs0429-4.cs
1 // CS0429: Unreachable expression code detected
2 // Line: 12
3 // Compiler options: -warnaserror
4
5 public class X
6 {
7         static void test (int stop)
8         {
9                 int pos = 0;
10                 do {
11                         break;
12                 } while (pos < stop);
13         }
14 }