2010-06-03 Jb Evain <jbevain@novell.com>
[mcs.git] / tests / gtest-anon-37.cs
blobd0e1d8339db2602e9a9107e21371fa97d5463772
1 using System;
2 using System.Collections.Generic;
4 public class Wrap<U>
6 public List<U> t;
9 public class Test
11 public int Run<T> (Wrap<T> t)
13 Action f = () => { t.t = new List<T> (); };
14 f ();
15 return t.t != null ? 0 : 1;
18 public static int Main ()
20 return new Test ().Run (new Wrap <byte> ());