Merge pull request #4816 from BrzVlad/fix-remoting-exception
[mono.git] / mcs / tests / gtest-variance-1.cs
index 04fac5216fd4c563a926fcf0b9d13f9d29ef9439..036d38fbdef6c6065b70a320689d377eed515982 100644 (file)
@@ -1,5 +1,3 @@
-// Compiler options: -langversion:future
-
 interface IFoo<out T>
 {
        T Bar { get; }
@@ -17,7 +15,7 @@ class Foo : IFoo<string>
 
 public class Test
 {
-       static int Main ()
+       public static int Main ()
        {
                string bar = "Who is John Galt?";
                IFoo<string> foo = new Foo(bar);