From: C.J. Adams-Collier Date: Wed, 7 May 2008 20:07:13 +0000 (-0000) Subject: 2008-05-06T1808 C.J. Adams-Collier X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=7ee3c4413c79bc123ab2e2c2bcec54138c7ec394;p=mono.git 2008-05-06T1808 C.J. Adams-Collier * 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 --- diff --git a/mcs/tests/ChangeLog b/mcs/tests/ChangeLog index 8b97c5177c3..c68dac57a5f 100644 --- a/mcs/tests/ChangeLog +++ b/mcs/tests/ChangeLog @@ -1,3 +1,9 @@ +2008-05-06T1808 C.J. Adams-Collier + + * 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 * 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 index 00000000000..29a061018f9 --- /dev/null +++ b/mcs/tests/gtest-395.cs @@ -0,0 +1,17 @@ +public class RuleBuilder where T : class {} + +public interface IDynamicObject { + RuleBuilder GetRule() where T : class; +} + +public class RubyMethod : IDynamicObject { + RuleBuilder IDynamicObject.GetRule() /* where T : class */ { + return new RuleBuilder(); + } +} + +public class T { + static void Main () + { + } +} diff --git a/mcs/tests/known-issues-gmcs b/mcs/tests/known-issues-gmcs index bb2ee49d4d7..eaf2287474a 100644 --- a/mcs/tests/known-issues-gmcs +++ b/mcs/tests/known-issues-gmcs @@ -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 diff --git a/mcs/tests/known-issues-smcs b/mcs/tests/known-issues-smcs index 9525cc3cc5b..d8c5285e54c 100644 --- a/mcs/tests/known-issues-smcs +++ b/mcs/tests/known-issues-smcs @@ -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