cleol
[mcs.git] / tests / gtest-anon-57.cs
blob728ab70488716578839877f2fe14c58604ab8962
1 using System;
3 delegate void Foo ();
5 interface IFoo<T>
7 void Test ();
10 class X<T> : IFoo<T>
12 void IFoo<T>.Test ()
14 Foo foo = delegate {
15 Console.WriteLine (1);
18 foo ();
22 class M
24 static void Main ()
26 IFoo<int> x = new X<int> ();
27 x.Test ();