summaryrefslogtreecommitdiffstats
path: root/src/test/ui/panics/panic-arg.rs
blob: f7c2dbb096f2916fa9fc6eeedd73dbdab936175f (plain)
1
2
3
4
5
6
7
8
9
10
11
// run-fail
// error-pattern:woe
// ignore-emscripten no processes

fn f(a: isize) {
    println!("{}", a);
}

fn main() {
    f(panic!("woe"));
}