2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / tests / gtest-210.cs
blob607b171ce5980266db3920f1312bbb83bc42a667
1 public class Foo<T> where T:Foo<T>
3 public T n;
5 public T next()
7 return n;
11 public class Goo : Foo<Goo>
13 public int x;
16 public class Test
18 public static void Main()
20 Goo x = new Goo();
22 x=x.next();