Merge pull request #495 from nicolas-raoul/fix-for-issue2907-with-no-formatting-changes
[mono.git] / mcs / tests / test-514.cs
index 70d1edd01f9fab31f699c490ee2b5f693eab40b2..a1c1e7b4d7256c73f354a387fdc78b015bf1963f 100644 (file)
@@ -1,4 +1,4 @@
-// Compiler options: -warnaserror -warn:2
+// Compiler options: -warnaserror -w:2
 
 using System;
 class X {
@@ -13,7 +13,7 @@ class X {
                throw new Exception ();
        }
 
-        static int Main ()
+        public static int Main ()
        {
                int ret = 1;
                try { HandleConflict (1); }