Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Baulig <martin@novell.com>2005-04-30 13:28:29 +0400
committerMartin Baulig <martin@novell.com>2005-04-30 13:28:29 +0400
commit61753df8ad2ab06ee69dbcc0e4f394851d63b15b (patch)
treeb6261d146f05b4eaafa198c6ba8ed4e49ebb40a4 /mcs/tests/test-370.cs
parent2e35579277203ffe00b7d04b4d23ea1d63b4de4a (diff)
New test.
svn path=/trunk/mcs/; revision=43821
Diffstat (limited to 'mcs/tests/test-370.cs')
-rw-r--r--mcs/tests/test-370.cs37
1 files changed, 37 insertions, 0 deletions
diff --git a/mcs/tests/test-370.cs b/mcs/tests/test-370.cs
new file mode 100644
index 00000000000..73f1ff566fe
--- /dev/null
+++ b/mcs/tests/test-370.cs
@@ -0,0 +1,37 @@
+using System;
+
+namespace Test
+{
+ public class Application
+ {
+ private static int ParseType(string inType)
+ {
+ switch (inType)
+ {
+ case "headless":
+ return 0;
+
+ case "headed":
+ default:
+ return 1;
+
+ case "wedge":
+ return 2;
+
+ case "hi":
+ return 3;
+
+ case "she":
+ return 4;
+
+ case "sha2":
+ return 5;
+ }
+ }
+
+ public static void Main()
+ {
+ int result = ParseType("foo");
+ }
+ }
+}