Bump API snapshot submodule
[mono.git] / mcs / errors / cs7095.cs
1 // CS7095: Exception filter expression is a constant
2 // Line: 12
3 // Compiler options: -warnaserror
4
5 using System;
6
7 class X
8 {
9         public static int Main ()
10         {
11                 try {
12                         throw new ApplicationException ();
13                 } catch when (true) {
14                         return 0;
15                 }
16         }
17 }