Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
panic-handler
/
panic-handler-wrong-location.rs
blob: fc3ef401e3db27ee212f45420505d8e943f9a621 [
file
] [
log
] [
blame
]
//@ compile-flags:-C panic=abort
#![
no_std
]
#![
no_main
]
#[
panic_handler
]
//~ ERROR `panic_impl` language item must be applied to a function
#[
no_mangle
]
static
X
:
u32
=
42
;