summaryrefslogtreecommitdiffstats
path: root/tests/ui/for-loop-while/loop-break-cont-1.rs
blob: f207746f08522854ea8e06d3c12a101a98f345f3 (plain)
1
2
3
4
5
6
7
8
9
// run-pass

pub fn main() {
  let _i = 0_usize;
  loop {
    break;
  }
  assert!(true);
}