]> git.lizzy.rs Git - rust.git/blob - tests/source/issue-3217.rs
Fix typos “an”→“a” and a few different ones that appeared in the same search
[rust.git] / tests / source / issue-3217.rs
1 #![feature(label_break_value)]
2
3 fn main() {
4     let mut res = 0;
5     's_39: { if res == 0i32 { println!("Hello, world!"); } }
6     's_40: loop { println!("res = {}", res); res += 1; if res == 3i32 { break 's_40; } }
7     let toto = || { if true { 42 } else { 24 } };
8 }