1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-05 00:36:16 +02:00

A test case for standard conversion sequence rework.

This commit is contained in:
Sergey Prigogin 2009-02-08 19:20:26 +00:00
parent bf4ea7fcca
commit 2e9b63b2c2

View file

@ -3733,4 +3733,21 @@ public class AST2TemplateTests extends AST2BaseTest {
assertFalse(m instanceof ICPPTemplateInstance);
}
// struct A {
// void m() const;
// };
//
// template<typename T>
// struct B : public A {
// };
//
// typedef B<char> C;
//
// void test(const C& p) {
// p.m();
// }
public void testConversionSequence_263159() throws Exception {
BindingAssertionHelper bh= new BindingAssertionHelper(getAboveComment(), true);
ICPPMethod m= bh.assertNonProblem("m();", 1, ICPPMethod.class);
}
}