summaryrefslogtreecommitdiffstats
path: root/src/test/ui/for-loop-while/break-value.rs
blob: 9fc49fa8181b15ea5b8f829379778ed16d128e31 (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); } }