Merge pull request #495 from nicolas-raoul/fix-for-issue2907-with-no-formatting-changes
[mono.git] / mcs / tests / gtest-variance-18.cs
1 interface IFoo<out T>
2 {
3 }
4
5 struct S : IFoo<string>
6 {
7 }
8
9 public class Test
10 {
11         public static int Main ()
12         {
13                 S s = new S ();
14                 IFoo<object> o = s;
15                 return 0;
16         }
17 }