mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-15 21:02:04 +00:00
11 lines
199 B
Rust
11 lines
199 B
Rust
// gate-test-cmse_nonsecure_entry
|
|
|
|
#[no_mangle]
|
|
pub extern "C-cmse-nonsecure-entry" fn entry_function(input: u32) -> u32 {
|
|
//~^ ERROR [E0570]
|
|
//~| ERROR [E0658]
|
|
input + 6
|
|
}
|
|
|
|
fn main() {}
|