1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 22:52:11 +02:00

Test case for bug 272848.

This commit is contained in:
Sergey Prigogin 2009-04-20 03:13:12 +00:00
parent 954592bc6c
commit c7b512cbdf

View file

@ -2237,7 +2237,23 @@ public class AST2TemplateTests extends AST2BaseTest {
bh.assertNonProblem("f(&A::m);", 1, ICPPFunction.class);
}
// // Brian W.'s example from bugzilla#167098
// template<typename T, typename U = int>
// class A {};
//
// template <typename P>
// void f(A<P> p);
//
// class B {};
//
// void test(A<B> p) {
// f(p);
// }
public void _testFunctionTemplate_272848() throws Exception {
final String code = getAboveComment();
parseAndCheckBindings(code, ParserLanguage.CPP);
}
// // Brian W.'s example from bugzilla#167098
// template<class K>
// class D { //CPPClassTemplate
// public: