summaryrefslogtreecommitdiffstats
path: root/src/test/ui/cmse-nonsecure/cmse-nonsecure-call/wrong-abi-location-1.rs
blob: f32b3709002e6c2db959b33f3b7b5e16381744f4 (plain)
1
2
3
4
5
6
7
8
// compile-flags: --target thumbv8m.main-none-eabi --crate-type lib
// needs-llvm-components: arm
#![feature(abi_c_cmse_nonsecure_call, lang_items, no_core)]
#![no_core]
#[lang="sized"]
trait Sized { }

pub extern "C-cmse-nonsecure-call" fn test() {} //~ ERROR [E0781]