Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / test-debug-06.cs
1 using System;
2
3 class Test
4 {
5         public static void Main ()
6         {
7         }
8
9         void TryCatch_1 ()
10         {
11                 try
12                 {
13                 }
14                 catch
15                 {
16                 }
17         }
18         
19         void TryCatch_2 ()
20         {
21                 try
22                 {
23                 }
24                 catch (Exception e)
25                 {
26                         e = null;
27                 }
28         }
29         
30         void TryCatch_3 ()
31         {
32                 try
33                 {
34                 }
35                 catch (ArgumentException e)
36                 {
37                         e = null;
38                 }
39                 catch (Exception e)
40                 {
41                         return;
42                 }
43         }
44         
45         void TryFinally_1 ()
46         {
47                 try
48                 {
49                 }
50                 finally
51                 {
52                 }
53         }
54
55         void TryFinally_2 ()
56         {
57                 try
58                 {
59                 }
60                 catch (Exception e)
61                 {
62                         e = null;
63                 }
64                 finally
65                 {
66                 }
67         }
68 }