svn path=/trunk/mcs/; revision=103723
--- /dev/null
+// CS0155: The type caught or thrown must be derived from System.Exception
+// Line: 9
+
+class Test
+{
+ public static void Main ()
+ {
+ try {}
+ catch (int[]) {}
+ }
+}
+
--- /dev/null
+// CS0155: The type caught or thrown must be derived from System.Exception
+// Line: 9
+
+class Test
+{
+ public static void Main ()
+ {
+ try {}
+ catch (bool b) {}
+ }
+}
+
+++ /dev/null
-// CS1015: A type that derives from `System.Exception', `object', or `string' expected
-// Line: 9
-
-class Test
-{
- public static void Main ()
- {
- try {}
- catch (int[]) {}
- }
-}
-
+++ /dev/null
-// CS1015: A type that derives from `System.Exception', `object', or `string' expected
-// Line: 9
-
-class Test
-{
- public static void Main ()
- {
- try {}
- catch (bool b) {}
- }
-}
-