2020-09-30 18:10:17 +01:00
|
|
|
// gate-test-cmse_nonsecure_entry
|
|
|
|
|
|
|
|
|
|
#[no_mangle]
|
2024-07-31 21:04:06 +02:00
|
|
|
pub extern "C-cmse-nonsecure-entry" fn entry_function(input: u32) -> u32 {
|
|
|
|
|
//~^ ERROR [E0570]
|
|
|
|
|
//~| ERROR [E0658]
|
2020-09-30 18:10:17 +01:00
|
|
|
input + 6
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
fn main() {}
|