Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
macros
/
die-macro.rs
blob: b717eed3fb438aeee23ca09b5c57efae7ac1d871 [
file
] [
log
] [
blame
] [
edit
]
//@ run-pass
#![
allow
(
dead_code
)]
// Just testing that panic!() type checks in statement or expr
#![
allow
(
unreachable_code
)]
fn
f
()
{
panic
!();
let
_x
:
isize
=
panic
!();
}
pub
fn
main
()
{
}