about summary refs log tree commit diff
path: root/tests/ui/cmse-nonsecure/cmse-nonsecure-entry/gate_test.rs
blob: 8ec22033a3df89e6c924fa13c45e19d65e58bde1 (plain)
1
2
3
4
5
6
7
8
9
10
// 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() {}