Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / test-796.cs
index cba7b21db668751891304313b0169b3d735b605b..b77d98d7290aa96168dd4197bcbb6809df7fe9c8 100644 (file)
@@ -8,6 +8,17 @@ struct S
 {
 }
 
+class C2
+{
+       S s;
+       
+       void Foo ()
+       {
+               Func<string> f = s.ToString;
+               Console.WriteLine (f);
+       }
+}
+
 [Foo (Product = "Mono")]
 class Program
 {