X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Ftests%2Fgtest-anon-18.cs;h=7b6a1afe6af4f00b47d98b175b82f2ec03bcda0f;hb=e5fb257d8bf0b3dae7e404a5839b550bee78d685;hp=4f20e27663131c586ac370f7c240af475ff84207;hpb=6c3720085a365727f88411d5e35d19bfbd43a453;p=mono.git diff --git a/mcs/tests/gtest-anon-18.cs b/mcs/tests/gtest-anon-18.cs index 4f20e276631..7b6a1afe6af 100644 --- a/mcs/tests/gtest-anon-18.cs +++ b/mcs/tests/gtest-anon-18.cs @@ -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 () { - // 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 +}