Files
rust/tests/ui/cmse-nonsecure/cmse-nonsecure-entry/gate_test.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
199 B
Rust
Raw Normal View History

// 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]
input + 6
}
fn main() {}