Fix LLVM linker flags for 6.0.
[mono-project.git] / mcs / tests / gtest-578.cs
blob39d29dcd22d5a76a670b85a15c28557f34506d5e
1 using System;
3 public interface I<T>
7 public class X : I<int>
9 public static I<TR> Test<T, TR> (I<T> source, Func<I<T>, TR> selector)
11 return null;
14 public static U First<U> (I<U> source)
16 return default (U);
19 public static void Main ()
21 I<int> xs = new X ();
22 var left = Test (xs, First);