2009-02-19 Jb Evain <jbevain@novell.com>
[mcs.git] / tests / test-370.cs
blob73f1ff566fe27b204c409de045c1a9312c17453b
1 using System;
3 namespace Test
5 public class Application
7 private static int ParseType(string inType)
9 switch (inType)
11 case "headless":
12 return 0;
14 case "headed":
15 default:
16 return 1;
18 case "wedge":
19 return 2;
21 case "hi":
22 return 3;
24 case "she":
25 return 4;
27 case "sha2":
28 return 5;
32 public static void Main()
34 int result = ParseType("foo");