mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-28 11:25:35 +02:00
Test case for bug 256840.
This commit is contained in:
parent
6209b8f29d
commit
26f4a8e9a2
1 changed files with 16 additions and 4 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue