Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
cmse-nonsecure
/
cmse-nonsecure-entry
/
trustzone-only.rs
blob: 3783e2794021f5e53a76b7160c6884835f578326 [
file
] [
log
] [
blame
]
// ignore-thumbv8m.main-none-eabi
#![
feature
(
cmse_nonsecure_entry
)]
#[
no_mangle
]
#[
cmse_nonsecure_entry
]
//~ ERROR [E0775]
pub
extern
"C"
fn
entry_function
(
input
:
u32
)
->
u32
{
input
+
6
}
fn
main
()
{}