Sign in
android
/
toolchain
/
rustc
/
d2dbbcd40813d506244f1255bc2c84088a0197e1
/
.
/
src
/
test
/
ui
/
cmse-nonsecure
/
cmse-nonsecure-entry
/
issue-83475.rs
blob: a839406cd0aaf9103cf57c0a0d2961ed7eb44f45 [
file
] [
log
] [
blame
]
// Regression test for the ICE described in #83475.
#![
crate_type
=
"lib"
]
#![
feature
(
cmse_nonsecure_entry
)]
#[
cmse_nonsecure_entry
]
//~^ ERROR: attribute should be applied to a function definition
struct
XEmpty2
;
//~^ NOTE: not a function definition