blob: 736d580e2da18aacdcddbcb784a78b6d3e884b88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// run-fail
// error-pattern:diverging_fn called
// ignore-emscripten no processes
fn diverging_fn() -> ! {
panic!("diverging_fn called")
}
fn mir() {
diverging_fn();
}
fn main() {
mir();
}
|