New test.
[mono.git] / mcs / tests / test-370.cs
1 using System;
2
3 namespace Test
4 {
5         public class Application
6         {
7                 private static int ParseType(string inType)
8                 {
9                         switch (inType)
10                         {
11                                 case "headless":
12                                         return 0;
13
14                                 case "headed":
15                                 default:
16                                         return 1;
17
18                                 case "wedge":
19                                         return 2;
20
21                                 case "hi":
22                                         return 3;
23
24                                 case "she":
25                                         return 4;
26
27                                 case "sha2":
28                                         return 5;
29                         }
30                 }
31
32                 public static void Main()
33                 {
34                         int result = ParseType("foo");
35                 }
36         }
37 }