mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-26 16:37:30 +00:00
11 lines
287 B
Rust
11 lines
287 B
Rust
// gate-test-cmse_nonsecure_entry
|
|
|
|
#[no_mangle]
|
|
pub extern "cmse-nonsecure-entry" fn entry_function(input: u32) -> u32 {
|
|
//~^ ERROR: is not a supported ABI for the current target [E0570]
|
|
//~| ERROR: ABI is experimental and subject to change [E0658]
|
|
input + 6
|
|
}
|
|
|
|
fn main() {}
|