Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / gtest-187.cs
1 public class Foo<T> where T:Foo<T>
2 {
3   public T n;
4
5   public T next()
6   {
7     return n;
8   }
9 }
10  
11 public class Goo : Foo<Goo>
12 {
13   public int x;
14 }
15  
16 public class Test
17 {
18   public static void Main()
19   {
20     Goo x = new Goo();
21     
22     x=x.next();
23   }
24 }