Add support for indirect pointer type constants.
[mono.git] / mcs / tests / gtest-variance-9.cs
1 // Compiler options: -langversion:future
2
3 interface IIn<in T>
4 {
5 }
6
7 class Test
8 {
9
10         static void Foo (IIn<string> f)
11         {
12         }
13
14         public static int Main ()
15         {
16                 IIn<object> test = null;
17                 Foo (test);
18
19                 return 0;
20         }
21 }