summaryrefslogtreecommitdiffstats
path: root/src/test/ui/macros/die-macro-pure.rs
blob: 588fbe61b0e76fa0476e0b08657f37f93d666b5d (plain)
1
2
3
4
5
6
7
8
9
10
11
// run-fail
// error-pattern:test
// ignore-emscripten no processes

fn f() {
    panic!("test");
}

fn main() {
    f();
}