Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / tests / gtest-189.cs
1 interface IFoo {}
2 class Bar : IFoo {}
3
4 class Cont<T> {
5   T f;
6   public Cont(T x) { f = x; }
7   public override string ToString ()
8   {
9     return f.ToString ();
10   }
11 }
12
13 class M {
14   public static void Main ()
15   {
16     Cont<IFoo> c = new Cont<IFoo> (new Bar ());
17     System.Console.WriteLine (c);
18   }
19 }