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:
authorMartin Baulig <martin@novell.com>2003-08-22 06:12:21 +0400
committerMartin Baulig <martin@novell.com>2003-08-22 06:12:21 +0400
commitf2b5bb64fb40f777a962406fe840306c8095faed (patch)
treed7d0969662e20b60d9bcf29a075ee8ebc8e31972 /mcs/tests/test-154.cs
parent1e28c446f51c571885e3c42ef03473ef6d3cee96 (diff)
2003-08-22 Martin Baulig <martin@ximian.com>
* test-154.cs: Added testcase for bug #47095. svn path=/trunk/mcs/; revision=17489
Diffstat (limited to 'mcs/tests/test-154.cs')
-rw-r--r--mcs/tests/test-154.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/mcs/tests/test-154.cs b/mcs/tests/test-154.cs
index 47e31d7b71f..f647492949b 100644
--- a/mcs/tests/test-154.cs
+++ b/mcs/tests/test-154.cs
@@ -431,4 +431,18 @@ public class X
}
value = null;
}
+
+ //
+ // Bug #47095
+ //
+ static bool method (out int a)
+ {
+ try {
+ a = 0;
+ return true;
+ } catch (System.Exception) {
+ a = -1;
+ return false;
+ }
+ }
}