]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/die-macro.rs
Rollup merge of #87596 - jesyspa:issue-87318-hidden-whitespace, r=estebank
[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 }