mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 22:22:11 +02:00
Testcase for bug 286213.
This commit is contained in:
parent
f63d598fe1
commit
a614d37442
1 changed files with 17 additions and 0 deletions
|
@ -7346,4 +7346,21 @@ public class AST2CPPTests extends AST2BaseTest {
|
|||
public void testLookupFromInlineFriend_284690() throws Exception {
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue