[System.Windows.Forms] Disable failing test
[mono-project.git] / mcs / tests / test-897.cs
blobe5b328255e6fee226962bbf0cb1d9b4ae0c1fe56
1 using System;
3 class X
5 static int Foo ()
7 throw new ApplicationException ();
10 public static int Main ()
12 try {
13 var b = Foo () is object;
14 return 1;
15 } catch (ApplicationException) {
18 try {
19 var b = Foo () as object;
20 return 2;
21 } catch (ApplicationException) {
24 return 0;