Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / test-523.cs
1 using System;
2 class T {
3         int stuff () {
4                 try {
5                         throw new Exception ();
6                 } finally {
7                         stuff_finally ();
8                 }
9         }
10         int stuff2 () {
11                 try {
12                         throw new Exception ();
13                 } catch {
14                         try {
15                                 throw new Exception ();
16                         } finally {
17                                 stuff_finally ();
18                         }
19                 } finally {
20                         stuff_finally ();
21                 }
22         }
23         int stuff3 () {
24                 try {
25                         throw new Exception ();
26                 } catch {
27                         try {
28                                 throw new Exception ();
29                         } finally {
30                                 stuff_finally ();
31                         }
32                 } finally {
33                         stuff_finally ();
34                 }
35         }
36         void stuff4 () {
37                 try {
38                         throw new Exception();
39                 } catch {
40                         throw;
41                 }
42         }
43         void stuff_finally () {
44         }
45         public static void Main() {
46         }
47 }