2010-04-07 Rodrigo Kumpera <rkumpera@novell.com>
[mono-project.git] / mono / tests / exception15.cs
blobfed769abb028ae8dc480402ef1397ef901c1603a
1 using System;
3 class Tests {
4 public static int Main(){
5 int i = 0;
6 try{
7 try {
8 throw new NotImplementedException();
10 finally {
11 i++;
12 Console.WriteLine("Finally called");
14 } catch(NotImplementedException){
15 i++;
16 Console.WriteLine("Exception ignored");
19 if (i != 2)
20 return 1;
22 return 0;