a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
22 lines
317 B
C#
22 lines
317 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
public class Wrap<U>
|
|
{
|
|
public List<U> t;
|
|
}
|
|
|
|
public class Test
|
|
{
|
|
public int Run<T> (Wrap<T> t)
|
|
{
|
|
Action f = () => { t.t = new List<T> (); };
|
|
f ();
|
|
return t.t != null ? 0 : 1;
|
|
}
|
|
|
|
public static int Main ()
|
|
{
|
|
return new Test ().Run (new Wrap <byte> ());
|
|
}
|
|
} |