2008-05-06T1808 C.J. Adams-Collier <cjac@colliertech.org>
authorC.J. Adams-Collier <cjac@colliertech.org>
Wed, 7 May 2008 20:07:13 +0000 (20:07 -0000)
committerC.J. Adams-Collier <cjac@colliertech.org>
Wed, 7 May 2008 20:07:13 +0000 (20:07 -0000)
* known-issues-gmcs: added entry for gtest-395.cs
* known-issues-smcs: added entry for gtest-395.cs
* gtest-395.cs: added test from https://bugzilla.novell.com/show_bug.cgi?id=387040

svn path=/trunk/mcs/; revision=102770

mcs/tests/ChangeLog
mcs/tests/gtest-395.cs [new file with mode: 0644]
mcs/tests/known-issues-gmcs
mcs/tests/known-issues-smcs

index 8b97c5177c313e781bbfb835b639b0967332a89c..c68dac57a5f65a77e82a76056e62864a2b2e3d43 100644 (file)
@@ -1,3 +1,9 @@
+2008-05-06T1808  C.J. Adams-Collier  <cjac@colliertech.org>
+
+       * known-issues-gmcs: added entry for gtest-395.cs
+       * known-issues-smcs: added entry for gtest-395.cs
+       * gtest-395.cs: added test from https://bugzilla.novell.com/show_bug.cgi?id=387040
+
 2008-04-24  Raja R Harinath  <harinath@hurrynot.org>
 
        * test-120.cs: Ensure we don't get falsely optimized out of the
diff --git a/mcs/tests/gtest-395.cs b/mcs/tests/gtest-395.cs
new file mode 100644 (file)
index 0000000..29a0610
--- /dev/null
@@ -0,0 +1,17 @@
+public class RuleBuilder<T> where T : class {}
+
+public interface IDynamicObject {
+    RuleBuilder<T> GetRule<T>() where T : class;
+}
+
+public class RubyMethod : IDynamicObject {
+    RuleBuilder<T> IDynamicObject.GetRule<T>() /* where T : class */ {
+        return new RuleBuilder<T>();
+    }
+}
+
+public class T {
+       static void Main ()
+       {
+       }
+}
index bb2ee49d4d79975b4a7f0a44cd60e80cdf6f9c32..eaf2287474a74883eba19f5b8b368a79ef2af9da 100644 (file)
@@ -10,6 +10,7 @@ test-539.cs IGNORE    # In 2.0 profile, RuntimeCompatilityAttribute is added by def
 gtest-230.cs
 gtest-344.cs
 gtest-367.cs
+gtest-395.cs           # In 2.0 profile, GenericMethod does not correctly deal with base implementations (according to marek)
 
 ltest-11.cs
 gtest-etree-01.cs
index 9525cc3cc5be0160af583c14545d1e991d9100fc..d8c5285e54cada29a88666cd1738a9521b7989a9 100644 (file)
@@ -24,6 +24,7 @@ gtest-354.cs
 gtest-367.cs
 gtest-374.cs
 gtest-380.cs
+gtest-395.cs           # In 2.0 profile, GenericMethod does not correctly deal with base implementations (according to marek)
 gtest-collectioninit-01.cs
 gtest-etree-01.cs
 gtest-etree-03.cs