[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / errors / cs0162-100.cs
1 // CS0162: Unreachable code detected
2 // Line: 18
3 // Compiler options: -warnaserror -warn:2
4
5 using System;
6
7 class X
8 {
9         public static int Main ()
10         {
11                 try {
12                         throw new ApplicationException ();
13                 } catch when (false) {
14                         return 0;
15                 }
16         }
17 }