mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 08:55:25 +02:00
Testcase for bug 269052.
This commit is contained in:
parent
196f907dc8
commit
b941cf44b8
1 changed files with 9 additions and 0 deletions
|
@ -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 {
|
||||
// typename T::t func() {
|
||||
// return typename T::t();
|
||||
|
|
Loading…
Add table
Reference in a new issue