1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 06:32:10 +02:00

Testcase for bug 286213.

This commit is contained in:
Markus Schorn 2009-08-19 07:51:44 +00:00
parent f63d598fe1
commit a614d37442

View file

@ -7346,4 +7346,21 @@ public class AST2CPPTests extends AST2BaseTest {
public void testLookupFromInlineFriend_284690() throws Exception { public void testLookupFromInlineFriend_284690() throws Exception {
parseAndCheckBindings(getAboveComment(), ParserLanguage.CPP); parseAndCheckBindings(getAboveComment(), ParserLanguage.CPP);
} }
// class XInterface {};
// class OWeakObject : public XInterface{};
// class XTypeProvider : public XInterface{};
// class WeakImplHelper1 : public OWeakObject, public XTypeProvider {};
// class PropertyValueList : public WeakImplHelper1 {
// public:
// void hello();
// };
//
// XInterface temp; // No problem
// void PropertyValueList::hello() {
// XInterface temp; // Name resolution problem on XInterface
// }
public void testTypeLookupWithMultipleInheritance_286213() throws Exception {
parseAndCheckBindings(getAboveComment(), ParserLanguage.CPP);
}
} }