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-12-13 13:54:31 +0300
committerMartin Baulig <martin@novell.com>2003-12-13 13:54:31 +0300
commit7577893e14c032006ad59865aaedc4de5d51e38f (patch)
tree7aed2843560c111113c9cb8f522f7f2445324412 /mcs/tests/test-154.cs
parenta5e0e77a3e099e922f45c02bdcd355770f59897b (diff)
2003-12-13 Martin Baulig <martin@ximian.com>
* test-154.cs: Added testcase for bug #48962. svn path=/trunk/mcs/; revision=21096
Diffstat (limited to 'mcs/tests/test-154.cs')
-rw-r--r--mcs/tests/test-154.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/mcs/tests/test-154.cs b/mcs/tests/test-154.cs
index 3ed47d9377d..585bf29b760 100644
--- a/mcs/tests/test-154.cs
+++ b/mcs/tests/test-154.cs
@@ -500,4 +500,19 @@ public class X
if (i == 0)
return 0;
}
+
+ //
+ // Bug 48962
+ //
+ public void test34 ()
+ {
+ int y, x = 3;
+ if (x > 3) {
+ y = 3;
+ goto end;
+ }
+ return;
+ end:
+ x = y;
+ }
}