Merge pull request #4003 from ntherning/ignore-disconnected-interfaces-in-HttpListene...
[mono.git] / mcs / tests / test-async-26.cs
index 0c0d4a20c532c9d1ce046e4181e43494f6816258..a1b859299c0bb5dcb1129ded001354d79ab7e900 100644 (file)
@@ -1,5 +1,3 @@
-// Compiler options: -langversion:future
-
 using System;
 using System.Threading;
 using System.Threading.Tasks;
@@ -19,7 +17,7 @@ namespace ConsoleApplication1
                        return await task.Result;
                }
 
-               static int Main ()
+               public static int Main ()
                {
                        var t2 = Run (() => Task<int>.Factory.StartNew (() => 5));