summaryrefslogtreecommitdiffstats
path: root/tests/ui/expr/if-bot.rs
blob: 0f09db530d45e626a8265384ed022ce575c431d8 (plain)
1
2
3
4
5
6
// run-pass

pub fn main() {
    let i: isize = if false { panic!() } else { 5 };
    println!("{}", i);
}