diff options
author | Marek Safar <marek.safar@gmail.com> | 2008-03-19 13:40:04 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2008-03-19 13:40:04 +0300 |
commit | 1c8fae07ebaa65df374f4ad61c208dcb6e1f3fb6 (patch) | |
tree | 24bac33b6fd4d860cbbcb0c9f81ee1d7d0f6e9fc /mcs/tests/test-574.cs | |
parent | 32844a97f236ce3fd52a475393c0833d692fe2ce (diff) | |
parent | b251ce784aa16f7c3d52dfc4f334ee7b02f07c50 (diff) |
New tests, renamed verify-*.cs
svn path=/trunk/mcs/; revision=98581
Diffstat (limited to 'mcs/tests/test-574.cs')
-rw-r--r-- | mcs/tests/test-574.cs | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/mcs/tests/test-574.cs b/mcs/tests/test-574.cs new file mode 100644 index 00000000000..6884ebeddad --- /dev/null +++ b/mcs/tests/test-574.cs @@ -0,0 +1,25 @@ +using System; +using System.Threading; + +enum A { + Hello, + Bye +} + +class X { + + static int Main () { + try { + switch (0) { + default: + throw new Exception("FOO"); + break; + } + } catch (Exception) { + return 0; + } + + return 1; + } +} + |