Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
ddb81ce68047d6383a789c8da514e443faea8349
/
.
/
tests
/
ui
/
panic-handler
/
panic-handler-wrong-location.rs
blob: 49685ee45926e887a00b1a8fe65765a136631c7b [
file
] [
log
] [
blame
]
//@ compile-flags:-C panic=abort
#![
no_std
]
#![
no_main
]
#[
panic_handler
]
//~ ERROR `panic_impl` lang item must be applied to a function
#[
no_mangle
]
static
X
:
u32
=
42
;