blob: a8b3f3493097c34ca832bc9b6444c81856316c58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// run-fail
// error-pattern:explicit panic
// ignore-emscripten no processes
fn a() {}
fn b() {
panic!();
}
fn main() {
let _x = vec![0];
a();
let _y = vec![0];
b();
}
|