2010-02-19 Rodrigo Kumpera <rkumpera@novell.com>
[mono.git] / mono / tests / exception11.cs
blobe0bd8487b263031d21c99f550af85fb1dac2971c
1 using System;
3 public class Test {
5 public static int Main (string[] args) {
7 int c = 0;
8 try
10 c = 0;
12 catch (Exception e)
14 Console.WriteLine("Exception: {0}", e.Message);
16 finally
18 Console.WriteLine("Finally... {0}", c++);
21 if (c != 1)
22 return 1;
24 return 0;