| 306 | } |
| 307 | |
| 308 | void continueStmt() { |
| 309 | const char clang[] = "`-FunctionDecl 0x2c31b18 <1.c:1:1, col:34> col:6 foo 'void ()'\n" |
| 310 | " `-CompoundStmt 0x2c31c40 <col:12, col:34>\n" |
| 311 | " `-WhileStmt 0x2c31c20 <col:14, col:24>\n" |
| 312 | " |-<<<NULL>>>\n" |
| 313 | " |-IntegerLiteral 0x2c31bf8 <col:21> 'int' 0\n" |
| 314 | " `-ContinueStmt 0x2c31c18 <col:24>"; |
| 315 | ASSERT_EQUALS("void foo ( ) { while ( 0 ) { continue ; } }", parse(clang)); |
| 316 | } |
| 317 | |
| 318 | void cstyleCastExpr() { |
| 319 | const char clang[] = "`-VarDecl 0x2336aa0 <1.c:1:1, col:14> col:5 x 'int' cinit\n" |