// expect error: continue outside a loop // spec 4.8.1 and 4.7.1: continue inside a switch continues the enclosing loop, there is none here include rt; void pn(int x) { rt.put_n(x); rt.put_c(10); } fn main() { int k = 1; switch (k) { case 1: continue; } return 0; }