2010-05-27 Marek Safar <marek.safar@gmail.com>
[mono.git] / mcs / tests / test-370.cs
index 73f1ff566fe27b204c409de045c1a9312c17453b..8195e3bc58a5c506431bc0a256b7d1e968c67d83 100644 (file)
@@ -29,9 +29,19 @@ namespace Test
                        }
                }
 
-               public static void Main()
+               public static int Main()
                {
-                       int result = ParseType("foo");
+                       int result1 = ParseType("foo");
+                       Console.WriteLine (result1);
+                       if (result1 != 1)
+                               return 1;
+
+                       int result2 = ParseType("headed");
+                       Console.WriteLine (result2);
+                       if (result1 != result2)
+                               return 2;
+                       
+                       return 0;
                }
        }
 }