John Stiles | cb40008 | 2021-09-23 11:07:32 -0400 | [diff] [blame^] | 1 | // Expect 3 errors |
Brian Osman | 01f322c | 2021-01-14 11:40:56 -0500 | [diff] [blame] | 2 | |
3 | void discard_stmt() { discard; } | ||||
4 | |||||
5 | int do_loop(int x) { do { x++; } while(x < 1); return x; } | ||||
6 | |||||
7 | int while_loop(int x) { while (x < 1) { x++; } return x; } |