[xbuild] Use the env var $MSBuildExtensionsPath before trying other paths.
[mono.git] / mcs / tests / gtest-anon-18.cs
index 4f20e27663131c586ac370f7c240af475ff84207..7b6a1afe6af4f00b47d98b175b82f2ec03bcda0f 100644 (file)
@@ -1,4 +1,4 @@
-// Compiler options: -langversion:linq
+
 // Supported by C# 3.0
 
 public class C
@@ -17,8 +17,7 @@ public class C
        
        public static void Test2<T> ()
        {
-               // FIXME:
-               //T r = Test (delegate (T i) { return i; });
+               T r = Test (delegate (T i) { return i; });
        }
        
        public static void Main()
@@ -26,4 +25,4 @@ public class C
                int r = Test (delegate (int i) { return i < 1 ? 'a' : i; });
                string s = Test (delegate (int i) { return "a"; }, delegate (int i) { return "b"; });
        }
-}
\ No newline at end of file
+}