[metadata] Fix leaks when handling a few attributes (#16675)
[mono-project.git] / mcs / tests / test-anon-116.cs
bloba8f7da19f68cf6f5371446f610121d9a42fcf10c
1 // Bug #79972
2 delegate void TestFunc<T>(T val);
4 class A
6 public A(TestFunc<int> func) { }
8 public static void Main ()
9 { }
12 class TestClass
14 readonly A a = new A(delegate(int a) { });
15 static void Func<T>(TestFunc<T> func) { }