New test.
authorMartin Baulig <martin@novell.com>
Wed, 29 Nov 2006 20:32:42 +0000 (20:32 -0000)
committerMartin Baulig <martin@novell.com>
Wed, 29 Nov 2006 20:32:42 +0000 (20:32 -0000)
svn path=/trunk/mcs/; revision=68693

1  2 
mcs/tests/gtest-anon-16.cs

index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..dadb22a676ee8b7827d2c69ab8703ea00ef5cbe4
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,16 @@@
++// Bug #79972
++delegate void TestFunc<T>(T val);
++
++class A
++{
++      public A(TestFunc<int> func) { }
++
++      static void Main ()
++      { }
++}
++
++class TestClass
++{
++      readonly A a = new A(delegate(int a) { });
++      static void Func<T>(TestFunc<T> func) { }
++}