New test.
[mono.git] / mcs / errors / cs0155.cs
1 // cs0155.cs: The type caught or thrown must be derived from System.Exception
2 // Line: 7
3 class X {
4         static void Main ()
5         {
6                 int a = 9;
7                 throw a;
8         }
9 }