New test
authorMarek Safar <marek.safar@gmail.com>
Tue, 15 Feb 2011 14:30:07 +0000 (14:30 +0000)
committerMarek Safar <marek.safar@gmail.com>
Tue, 15 Feb 2011 14:30:28 +0000 (14:30 +0000)
mcs/tests/test-807.cs [new file with mode: 0644]

diff --git a/mcs/tests/test-807.cs b/mcs/tests/test-807.cs
new file mode 100644 (file)
index 0000000..b411bfc
--- /dev/null
@@ -0,0 +1,26 @@
+using System;
+
+class AException : Exception
+{
+}
+
+class Program
+{
+       public static int Main ()
+       {
+               try {
+                       throw new AException ();
+               } catch (AException e1) {
+                       Console.WriteLine ("a");
+                       try {
+                       } catch (Exception) {
+                       }
+                       
+                       return 0;
+               } catch (Exception e) {
+                       Console.WriteLine ("e");
+               }
+               
+               return 1;
+       }
+}
\ No newline at end of file