summaryrefslogtreecommitdiffstats
path: root/tests/ui/panics/args-panic.rs
blob: 7636025c25b8324c5c7345c760590fef141aff2f (plain)
1
2
3
4
5
6
7
8
9
10
11
// run-fail
// error-pattern:meep
// ignore-emscripten no processes

fn f(_a: isize, _b: isize, _c: Box<isize>) {
    panic!("moop");
}

fn main() {
    f(1, panic!("meep"), Box::new(42));
}