projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cbb1d0
)
Little IsInterned test.
author
Paolo Molaro
<lupus@oddwiz.org>
Thu, 21 Feb 2002 14:24:30 +0000
(14:24 -0000)
committer
Paolo Molaro
<lupus@oddwiz.org>
Thu, 21 Feb 2002 14:24:30 +0000
(14:24 -0000)
svn path=/trunk/mono/; revision=2569
mono/tests/switch-string.cs
[new file with mode: 0644]
patch
|
blob
diff --git a/mono/tests/switch-string.cs
b/mono/tests/switch-string.cs
new file mode 100644
(file)
index 0000000..
c264d1f
--- /dev/null
+++ b/
mono/tests/switch-string.cs
@@ -0,0
+1,23
@@
+using System;
+
+public class fall_through {
+
+ public static void Main(string[] args)
+ {
+ foreach(string str in args)
+ {
+ Console.WriteLine(str);
+
+ switch(str)
+ {
+ case "test":
+ Console.WriteLine("passed");
+ continue;
+
+ default:
+ return;
+ }
+ }
+ }
+}
+