diff options
author | Martin Baulig <martin@novell.com> | 2002-08-02 02:32:59 +0400 |
---|---|---|
committer | Martin Baulig <martin@novell.com> | 2002-08-02 02:32:59 +0400 |
commit | 6fffa82897bf452da00eeb8b5c25582f12a78246 (patch) | |
tree | 758aee8c5962074f5205ad882dc99259356e7247 /mcs/errors/cs0155.cs | |
parent | 11e86809aa6c811f5ceaec3efe5650373238b28c (diff) |
2002-08-02 Martin Baulig <martin@gnome.org>
* cs0155.cs, cs0155-2.cs: New tests.
svn path=/trunk/mcs/; revision=6339
Diffstat (limited to 'mcs/errors/cs0155.cs')
-rw-r--r-- | mcs/errors/cs0155.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mcs/errors/cs0155.cs b/mcs/errors/cs0155.cs new file mode 100644 index 00000000000..48f5641434c --- /dev/null +++ b/mcs/errors/cs0155.cs @@ -0,0 +1,9 @@ +// 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; + } +} |