1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-29 03:45:35 +02:00

Second test case for bug 272848.

This commit is contained in:
Sergey Prigogin 2009-05-09 02:06:44 +00:00
parent b73e485897
commit 1c93d8ad9e

View file

@ -2248,7 +2248,24 @@ public class AST2TemplateTests extends AST2BaseTest {
// void test(A<B> p) {
// f(p);
// }
public void testFunctionTemplate_272848() throws Exception {
public void testFunctionTemplate_272848_1() throws Exception {
final String code = getAboveComment();
parseAndCheckBindings(code, ParserLanguage.CPP);
}
// template <typename S>
// class B {};
//
// template <typename T, typename U = B<T> >
// class A {};
//
// template <typename P>
// void f(A<P*> p);
//
// void test(A<int*> p) {
// f(p);
// }
public void _testFunctionTemplate_272848_2() throws Exception {
final String code = getAboveComment();
parseAndCheckBindings(code, ParserLanguage.CPP);
}