]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/die-macro.rs
Auto merge of #83152 - guswynn:jemallocator_part2, r=Mark-Simulacrum
[rust.git] / src / test / ui / macros / die-macro.rs
1 // run-pass
2 #![allow(dead_code)]
3 // Just testing that panic!() type checks in statement or expr
4
5
6 #![allow(unreachable_code)]
7
8 fn f() {
9     panic!();
10
11     let _x: isize = panic!();
12 }
13
14 pub fn main() {
15
16 }