2010-01-04 Rodrigo Kumpera <rkumpera@novell.com>
[mono.git] / mono / tests / bug-81673.cs
blobe2ad02db6c0fed83d16a217dcbbc25b33e1ac0c6
1 // App.cs created with MonoDevelop
2 // User: lluis at 15:46 18/05/2007
3 //
5 using System;
7 namespace Application
9 public class App
11 public static void Test ()
13 MyClass c = new MyClass ();
14 c.Run ();
17 public static int Main ()
19 int numCaught = 0;
21 for (int i = 0; i < 10; ++i) {
22 try {
23 Test ();
24 } catch (Exception ex) {
25 ++numCaught;
28 if (numCaught == 10)
29 return 0;
30 return 1;
34 class MyClass: IMyInterface
36 public void Run ()