]> git.lizzy.rs Git - rust.git/blob - src/test/ui/cmse-nonsecure/cmse-nonsecure-call/wrong-abi-location-2.rs
Auto merge of #102684 - JhonnyBillM:delete-target-data-layout-errors-wrapper, r=davidtwco
[rust.git] / src / test / ui / cmse-nonsecure / cmse-nonsecure-call / wrong-abi-location-2.rs
1 // compile-flags: --target thumbv8m.main-none-eabi --crate-type lib
2 // needs-llvm-components: arm
3 #![feature(abi_c_cmse_nonsecure_call, lang_items, no_core)]
4 #![no_core]
5 #[lang="sized"]
6 trait Sized { }
7
8 extern "C-cmse-nonsecure-call" { //~ ERROR [E0781]
9     fn test();
10 }