Files
mono/mcs/errors/cs0155.cs
T
Martin Baulig 6fffa82897 2002-08-02 Martin Baulig <[email protected]>
* cs0155.cs, cs0155-2.cs: New tests.

svn path=/trunk/mcs/; revision=6339
2002-08-01 22:32:59 +00:00

10 lines
152 B
C#

// cs0155.cs: The type caught or thrown must be derived from System.Exception
// Line: 7
class X {
static void Main ()
{
int a = 9;
throw a;
}
}