a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
21 lines
238 B
C#
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 ();
|
|
}
|
|
}
|