1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-28 11:25:35 +02:00

Testcase for bug 269052.

This commit is contained in:
Markus Schorn 2009-04-01 14:13:57 +00:00
parent 196f907dc8
commit b941cf44b8

View file

@ -4863,6 +4863,15 @@ public class AST2Tests extends AST2BaseTest {
} }
} }
// typedef int* TIntPtr;
// int x(int (int * a));
// int x(int(TIntPtr));
public void testInfiniteRecursion_Bug269052() throws Exception {
final String code= getAboveComment();
parseAndCheckBindings(code, ParserLanguage.C, true);
parseAndCheckBindings(code, ParserLanguage.CPP, true);
}
// template<typename T> class X { // template<typename T> class X {
// typename T::t func() { // typename T::t func() {
// return typename T::t(); // return typename T::t();