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:
authorMarek Safar <marek.safar@gmail.com>2004-05-30 23:08:00 +0400
committerMarek Safar <marek.safar@gmail.com>2004-05-30 23:08:00 +0400
commit2f31aa3e438455062d2b9ddc02c4b298b68ae620 (patch)
treeb12bec1da8e99e32749e6850d3be747456ba90f1 /mcs/errors/cs1017.cs
parentb18d980fab0178f5d30b59917f94a7c7a4ce98e8 (diff)
2004-05-30 Marek Safar <marek.safar@seznam.cz>
* cs1017.cs: New test. svn path=/trunk/mcs/; revision=28494
Diffstat (limited to 'mcs/errors/cs1017.cs')
-rw-r--r--mcs/errors/cs1017.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/mcs/errors/cs1017.cs b/mcs/errors/cs1017.cs
new file mode 100644
index 00000000000..db2f76e67af
--- /dev/null
+++ b/mcs/errors/cs1017.cs
@@ -0,0 +1,10 @@
+// cs1017.cs: Try statement already has an empty catch block
+// Line: 8
+
+class ClassMain {
+ public static void Main() {
+ try { }
+ catch {}
+ catch (System.Exception) { }
+ }
+}