1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-28 19:35:36 +02:00

Test case for bug 256840.

This commit is contained in:
Sergey Prigogin 2008-11-27 23:32:06 +00:00
parent 6209b8f29d
commit 26f4a8e9a2

View file

@ -6143,6 +6143,18 @@ public class AST2CPPTests extends AST2BaseTest {
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) {