blob: 18cfd5e23950b392bd2090f28c28977059d972a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// run-fail
// error-pattern:quux
// ignore-emscripten no processes
fn f() -> ! {
panic!("quux")
}
fn g() -> isize {
match f() {
true => 1,
false => 0,
}
}
fn main() {
g();
}
|