linux-packaging-mono/mcs/tests/test-anon-142.cs
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

21 lines
238 B
C#

using System;
public class Test
{
delegate void D ();
public static int Main ()
{
new Test ().Test_3<int> ();
return 0;
}
public void Test_3<T> () where T : struct
{
D d = delegate () {
T? tt = null;
};
d ();
}
}