diff --git a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPTests.java b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPTests.java index c6aee05d55b..914dc250492 100644 --- a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPTests.java +++ b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPTests.java @@ -6135,14 +6135,26 @@ public class AST2CPPTests extends AST2BaseTest { } } - // namespace ns { - // template class CT {}; - // } - // using ns::CT; + // namespace ns { + // template class CT {}; + // } + // using ns::CT; public void testTemplateIDInUsingDecl_251199() throws Exception { parseAndCheckBindings(getAboveComment(), ParserLanguage.CPP); } + // namespace ns { + // struct A {}; + // } + // + // struct B { + // operator ns::A(); // problems on operator ns and on A + // }; + public void _testNamespaceQualifiedOperator_256840() throws Exception { + BindingAssertionHelper bh= new BindingAssertionHelper(getAboveComment(), true); + bh.assertNonProblem("operator ns::A", 14); + } + // void f(); // // void test(int p) {