]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/cmse-nonsecure-entry/wrong-abi.rs
1 // compile-flags: --target thumbv8m.main-none-eabi --crate-type lib
2 // only-thumbv8m.main-none-eabi
3 #![feature(cmse_nonsecure_entry)]
7 #[cmse_nonsecure_entry]
8 pub fn entry_function(a
: u32, b
: u32, c
: u32, d
: u32) -> u32 { //~ ERROR [E0776]