Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Baulig <martin@novell.com>2002-08-02 02:32:59 +0400
committerMartin Baulig <martin@novell.com>2002-08-02 02:32:59 +0400
commit6fffa82897bf452da00eeb8b5c25582f12a78246 (patch)
tree758aee8c5962074f5205ad882dc99259356e7247 /mcs/errors/cs0155.cs
parent11e86809aa6c811f5ceaec3efe5650373238b28c (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.cs9
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;
+ }
+}