You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
// Expect 4 errors
|
|
|
|
void discard_stmt() { discard; }
|
|
|
|
int do_loop(int x) { do { x++; } while(x < 1); return x; }
|
|
|
|
int while_loop(int x) { while (x < 1) { x++; } return x; }
|
|
|
|
int switch_stmt(int x) { switch (x) { case 0: return 1; default: return x; } }
|