summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-9047.rs
blob: fa8d75aec7a3b05fa0c10cdf667f43ec48b512e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// run-pass
#![allow(unused_mut)]
#![allow(unused_variables)]
fn decode() -> String {
    'outer: loop {
        let mut ch_start: usize;
        break 'outer;
    }
    "".to_string()
}

pub fn main() {
    println!("{}", decode());
}