Merge pull request #495 from nicolas-raoul/fix-for-issue2907-with-no-formatting-changes
[mono.git] / mcs / tests / test-519.cs
1 class Foo {
2         public static int Main ()
3         {
4                 try {
5                         f ();
6                         return 1;
7                 } catch {
8                         return 0;
9                 }
10         }
11         static void f ()
12         {
13                 try {
14                         goto skip;
15                 } catch {
16                         goto skip;
17                 } finally {
18                         throw new System.Exception ();
19                 }
20         skip:
21                 ;
22         }
23 }