Little IsInterned test.
authorPaolo Molaro <lupus@oddwiz.org>
Thu, 21 Feb 2002 14:24:30 +0000 (14:24 -0000)
committerPaolo 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]

diff --git a/mono/tests/switch-string.cs b/mono/tests/switch-string.cs
new file mode 100644 (file)
index 0000000..c264d1f
--- /dev/null
@@ -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;
+                       }
+               }
+       }
+}
+