diff options
Diffstat (limited to 'mcs/tests/test-63.cs')
-rwxr-xr-x | mcs/tests/test-63.cs | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/mcs/tests/test-63.cs b/mcs/tests/test-63.cs deleted file mode 100755 index 268c607f783..00000000000 --- a/mcs/tests/test-63.cs +++ /dev/null @@ -1,31 +0,0 @@ -// -// Tests rethrowing an exception -// -using System; - -class X { - static int Main () - { - bool one = false, two = false; - - try { - try { - throw new Exception (); - } catch (Exception e) { - one = true; - Console.WriteLine ("Caught"); - throw; - } - } catch { - two = true; - Console.WriteLine ("Again"); - } - - if (one && two){ - Console.WriteLine ("Ok"); - return 0; - } else - Console.WriteLine ("Failed"); - return 1; - } -} |