diff options
author | Marek Safar <marek.safar@gmail.com> | 2011-12-14 20:36:06 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2011-12-14 20:36:48 +0400 |
commit | ebd4e5c54f904027d7910357ae24a476e867650a (patch) | |
tree | a1f2202dbe286761348c85b337abacb984fe083a /mcs/tests/test-836.cs | |
parent | 88166dd0a6ac0c51e1227daf87f2d0cbc071d08f (diff) |
Don't reorder catch clauses in the parser
Diffstat (limited to 'mcs/tests/test-836.cs')
-rw-r--r-- | mcs/tests/test-836.cs | 15 |
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 |