1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-28 03:15:33 +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

@ -6135,14 +6135,26 @@ public class AST2CPPTests extends AST2BaseTest {
}
}
// namespace ns {
// template<typename T> class CT {};
// }
// using ns::CT<int>;
// namespace ns {
// template<typename T> class CT {};
// }
// using ns::CT<int>;
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) {