codeowners update
[mono.git] / mcs / tests / test-930.cs
1 using System;
2
3 class X
4 {
5         public static int Main ()
6         {
7                 try {
8                         Test1 ();
9                         return 1;
10                 } catch (ApplicationException) {
11                 }
12
13                 try {
14                         Test2 ();
15                         return 2;
16                 } catch (ApplicationException) {
17                 }
18
19                 try {
20                         Test3 ();
21                         return 3;
22                 } catch (ApplicationException) {
23                 }
24
25                 return 0;
26         }
27
28         static void Test1 ()
29         {
30                 try
31                 {
32                 }
33                 finally
34                 {
35                         throw new ApplicationException ();
36                 }
37         }
38
39         static void Test2 ()
40         {
41                 try
42                 {
43                 }
44                 catch
45                 {
46                 }
47                 finally
48                 {
49                         throw new ApplicationException ();
50                 }
51         }
52
53         static void Test3 ()
54         {
55                 try
56                 {
57                         throw new ApplicationException ();
58                 }
59                 finally
60                 {
61                 }
62         }
63 }