diff options
author | Marek Safar <marek.safar@gmail.com> | 2004-12-14 10:45:28 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2004-12-14 10:45:28 +0300 |
commit | 4a9765f6d3f2436a975f4376c19f448bd54a45cf (patch) | |
tree | db96b251408a672315a205e978a6583c0a916d25 /mcs/errors/cs0724.cs | |
parent | 38f846b3d05eef240c2e2a46acbea9a3e35e6fe4 (diff) |
2004-12-14 Marek Safar <marek.safar@seznam.cz>
* cs0418-2.cs, cs0418.cs, cs0441.cs, cs0662.cs
cs0724.cs, cs1004.cs, cs1521-2.cs, cs1521.cs,
cs1558.cs, cs1576.cs, cs3017.cs, cs3018-2.cs,
cs3018.cs, cs3021.cs, cs3022.cs, cs3023.cs, cs3025.cs:
New error tests.
svn path=/trunk/mcs/; revision=37729
Diffstat (limited to 'mcs/errors/cs0724.cs')
-rw-r--r-- | mcs/errors/cs0724.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/mcs/errors/cs0724.cs b/mcs/errors/cs0724.cs new file mode 100644 index 00000000000..ec9425ab46c --- /dev/null +++ b/mcs/errors/cs0724.cs @@ -0,0 +1,17 @@ +// CS0742: A throw statement with no argument is only allowed in a catch clause nested inside of the innermost catch clause +// Line: 14 + +using System; + +class Foo +{ + static void Main () + { + try { + Console.WriteLine ("TEST"); + } + finally { + throw; + } + } +} |