Author: marek
Date: 2007-10-05 07:51:48 -0400 (Fri, 05 Oct 2007)
New Revision: 86967
Added:
trunk/mcs/tests/gtest-342.cs
Log:
A test for bug #327504
Added: trunk/mcs/tests/gtest-342.cs
===================================================================
--- trunk/mcs/tests/gtest-342.cs 2007-10-05 11:51:28 UTC (rev 86966)
+++ trunk/mcs/tests/gtest-342.cs 2007-10-05 11:51:48 UTC (rev 86967)
@@ -0,0 +1,14 @@
+class Base<T> where T : Base<T>
+{
+ public static implicit operator T (Base<T> t)
+ {
+ return (T) t;
+ }
+}
+
+class TestMain {
+ public static void Main (string [] args)
+ {
+ }
+}
+
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches