"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git] / mcs / tests / gtest-variance-14.cs
blobc469afc9d64446ab017df539ee64b937a137db6b
1 using System;
3 public class A
7 public class B : A
11 public class C : A
13 delegate void D<in T> (T t);
14 delegate T D<out T, U> (U u);
16 public static int Main ()
18 D<string> d_a = null;
19 D<object> d_b = (D<object>) d_a;
21 D<A, string> d2_a = null;
22 D<B, string> d2_b = (D<B, string>) d2_a;
23 D<C, string> d2_c = (D<C, string>) d2_a;
25 return 0;