Merge pull request #495 from nicolas-raoul/fix-for-issue2907-with-no-formatting-changes
[mono.git] / mcs / tests / gtest-221.cs
1 interface IFoo {}
2 interface IBar {}
3
4 class C1<IFoo> where IFoo : IBar
5 {
6 }
7
8 abstract class C2
9 {
10         public abstract C1<T> Hoge<T> (C1<T> c) where T : IBar;
11 }
12
13 class C3 : C2
14 {
15         public override C1<T> Hoge<T> (C1<T> c) { return null; }
16 }
17
18 class X
19 {
20         public static void Main ()
21         { }
22 }