Merge pull request #3591 from directhex/mono_libdir_fallback
[mono.git] / mcs / errors / cs0162-5.cs
1 // CS0162: Unreachable code detected
2 // Line: 12
3 // Compiler options: -warnaserror
4
5 using System;
6
7 public class Driver
8 {
9         public static void Main ()
10         {
11                 int yyTop = 0;
12                 for (; ; ++yyTop) {
13                         if (yyTop > 0)
14                                 break;
15                         else
16                                 return;
17                 }
18         }
19 }
20