]> git.lizzy.rs Git - rust.git/blob - src/test/run-fail/expr-fn-panic.rs
Auto merge of #68506 - tmandry:rollup-kz9d33v, r=tmandry
[rust.git] / src / test / run-fail / expr-fn-panic.rs
1 // error-pattern:explicit panic
2
3 fn f() -> ! {
4     panic!()
5 }
6
7 fn main() {
8     f();
9 }