c264d1feb66a6041553fcdcf24074066962e547c
[mono.git] / mono / tests / switch-string.cs
1 using System;
2
3 public class fall_through {
4
5         public static void Main(string[] args)
6         {
7                 foreach(string str in args)
8                 {
9                         Console.WriteLine(str);
10
11                         switch(str)
12                         {
13                                 case "test":
14                                         Console.WriteLine("passed");
15                                         continue;
16
17                                 default:
18                                         return;
19                         }
20                 }
21         }
22 }
23