about summary refs log tree commit diff
path: root/tests/ui/for-loop-while/break-value.rs
blob: 1289231fc30ffcef62a1f81e0265f6c82ee973c0 (plain)
1
2
3
4
5
6
7
//@ run-pass
#![allow(unreachable_code)]
//@ pretty-expanded FIXME #23616

fn int_id(x: isize) -> isize { return x; }

pub fn main() { loop { int_id(break); } }