a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
15 lines
176 B
C#
15 lines
176 B
C#
class Q
|
|
{
|
|
static void bar<T> (out T t) where T : struct
|
|
{
|
|
t = true ? new T () : new T ();
|
|
}
|
|
|
|
public static int Main ()
|
|
{
|
|
int d = 0;
|
|
bar (out d);
|
|
return 0;
|
|
}
|
|
}
|