2010-04-07 Jb Evain <jbevain@novell.com>
[mcs.git] / tests / gtest-anon-32.cs
blob60b897f61c70b06bffd77d16f4ec921af67aee1e
1 using System;
2 using System.Collections.Generic;
4 public class Program {
6 public static void Assert (Action<int> action)
8 action (42);
11 public static void Foo<T> (IList<T> list)
13 Assert (i => {
14 T [] backup = new T [list.Count];
15 });
18 public static void Main (string [] args)
20 Foo (args);