about summary refs log tree commit diff
path: root/tests/ui/issues/issue-9047.rs
blob: 97733588d514b9170356af28e15099c168ba3dcd (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());
}