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>2011-12-14 20:36:06 +0400
committerMarek Safar <marek.safar@gmail.com>2011-12-14 20:36:48 +0400
commitebd4e5c54f904027d7910357ae24a476e867650a (patch)
treea1f2202dbe286761348c85b337abacb984fe083a /mcs/tests/test-836.cs
parent88166dd0a6ac0c51e1227daf87f2d0cbc071d08f (diff)
Don't reorder catch clauses in the parser
Diffstat (limited to 'mcs/tests/test-836.cs')
-rw-r--r--mcs/tests/test-836.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/mcs/tests/test-836.cs b/mcs/tests/test-836.cs
new file mode 100644
index 00000000000..0cec8def80f
--- /dev/null
+++ b/mcs/tests/test-836.cs
@@ -0,0 +1,15 @@
+using System;
+
+public class C
+{
+ public static int Main ()
+ {
+ try {
+ throw new ArgumentException ();
+ } catch (ArgumentException) {
+ return 0;
+ } catch {
+ return 1;
+ }
+ }
+} \ No newline at end of file