1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 18:26:01 +02:00

Testcase for bug 226585.

This commit is contained in:
Markus Schorn 2008-04-24 09:58:59 +00:00
parent b293aef49f
commit ea74d07999

View file

@ -4636,4 +4636,12 @@ public class AST2Tests extends AST2BaseTest {
parseAndCheckBindings(code, ParserLanguage.CPP); parseAndCheckBindings(code, ParserLanguage.CPP);
} }
// int f(x) {
// return 0;
// }
public void testBug228422_noKnrParam() throws Exception {
StringBuffer buffer = getContents(1)[0];
parse(buffer.toString(), ParserLanguage.C, false );
}
} }