• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Expect 4 errors
2
3void discard_stmt() { discard; }
4
5int do_loop(int x) { do { x++; } while(x < 1); return x; }
6
7int while_loop(int x) { while (x < 1) { x++; } return x; }
8
9int switch_stmt(int x) { switch (x) { case 0: return 1; default: return x; } }
10