Author: marek
Date: 2007-12-27 08:41:30 -0500 (Thu, 27 Dec 2007)
New Revision: 91936
Added:
trunk/mcs/tests/gtest-355.cs
Log:
2007-12-27 Marek Safar <[EMAIL PROTECTED]>
A test for bug #346998
Added: trunk/mcs/tests/gtest-355.cs
===================================================================
--- trunk/mcs/tests/gtest-355.cs 2007-12-27 13:40:56 UTC (rev 91935)
+++ trunk/mcs/tests/gtest-355.cs 2007-12-27 13:41:30 UTC (rev 91936)
@@ -0,0 +1,38 @@
+class A
+{
+ public virtual bool Foo (string s)
+ {
+ return true;
+ }
+
+ public virtual string Foo<T> (string s)
+ {
+ return "v";
+ }
+}
+
+class B : A
+{
+ public bool Goo (string s)
+ {
+ return Foo (s);
+ }
+
+ public override bool Foo (string s)
+ {
+ return false;
+ }
+
+ public override string Foo<T> (string s)
+ {
+ return "a";
+ }
+}
+
+
+class C
+{
+ public static void Main ()
+ {
+ }
+}
\ No newline at end of file
Property changes on: trunk/mcs/tests/gtest-355.cs
___________________________________________________________________
Name: svn:eol-style
+ native
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches