Merge pull request #487 from mayerwin/patch-1
[mono.git] / mcs / tests / test-54.cs
1 //
2 // This test does not pass peverify because we dont return properly
3 // from catch blocks
4 //
5 using System;
6
7 class X {
8
9         bool v ()
10         {
11                 try {
12                         throw new Exception ();
13                 } catch {
14                         return false;
15                 }
16                 return true;
17         }
18
19         public static int Main ()
20         {
21                 return 0;
22         }               
23 }