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:
authorBen Maurer <benm@mono-cvs.ximian.com>2004-01-04 23:59:16 +0300
committerBen Maurer <benm@mono-cvs.ximian.com>2004-01-04 23:59:16 +0300
commit8f4b1042d66c7a26b9d05b9bfc3563753ea984c6 (patch)
tree63986b292c99c82bd263c116a98a553dc20ae49c /mcs/errors/cs0157-3.cs
parent5637b0de4c3960d1d20cd9324eb98ceed7dca7e7 (diff)
we fail some error testing here
svn path=/trunk/mcs/; revision=21684
Diffstat (limited to 'mcs/errors/cs0157-3.cs')
-rw-r--r--mcs/errors/cs0157-3.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/mcs/errors/cs0157-3.cs b/mcs/errors/cs0157-3.cs
new file mode 100644
index 00000000000..dcfd325c7c2
--- /dev/null
+++ b/mcs/errors/cs0157-3.cs
@@ -0,0 +1,15 @@
+// cs0157-3.cs: Control can not leave the body of a finally clause
+// Line: 11
+
+class T {
+ static void Main ()
+ {
+ while (true) {
+ try {
+ System.Console.WriteLine ("trying");
+ } finally {
+ continue;
+ }
+ }
+ }
+} \ No newline at end of file