Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
panic-handler
/
panic-handler-wrong-location.rs
blob: dca59101805621928d43ea0b7bc2e74226964268 [
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
;