Fix LLVM linker flags for 6.0.
[mono-project.git] / mcs / tests / dtest-055.cs
blobb948fcd9a14de7f259e8d39f010e620d2efb28fa
1 using System;
3 struct S<T>
7 abstract class B<T1, T2>
9 public abstract void Foo<U> (U x) where U : T1, T2;
12 class C : B<S<object>, S<dynamic>>
14 public override void Foo<U> (U x)
18 public static int Main ()
20 var m = typeof (C).GetMethod ("Foo");
21 var ta = m.GetGenericArguments ()[0].GetGenericParameterConstraints ();
22 if (ta.Length != 1)
23 return 1;
25 Console.WriteLine ("ok");
26 return 0;