mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 10:16:03 +02:00
Testcase for bug 226585.
This commit is contained in:
parent
b293aef49f
commit
ea74d07999
1 changed files with 8 additions and 0 deletions
|
@ -4636,4 +4636,12 @@ public class AST2Tests extends AST2BaseTest {
|
|||
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 );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue