Author: marek
Date: 2008-02-04 08:31:40 -0500 (Mon, 04 Feb 2008)
New Revision: 94742
Added:
trunk/mcs/tests/gtest-367.cs
Log:
New test.
Added: trunk/mcs/tests/gtest-367.cs
===================================================================
--- trunk/mcs/tests/gtest-367.cs 2008-02-04 13:30:34 UTC (rev 94741)
+++ trunk/mcs/tests/gtest-367.cs 2008-02-04 13:31:40 UTC (rev 94742)
@@ -0,0 +1,24 @@
+using System;
+
+class Foo {}
+
+class Repro {
+
+ static void Main ()
+ {
+ }
+
+ static void Bar<TFoo> (TFoo foo) where TFoo : Repro
+ {
+ Baz (foo, Gazonk);
+ }
+
+ static void Baz<T> (T t, Action<T> a)
+ {
+ a (t);
+ }
+
+ static void Gazonk (Repro f)
+ {
+ }
+}
Property changes on: trunk/mcs/tests/gtest-367.cs
___________________________________________________________________
Name: svn:eol-style
+ native
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches