2025-02-24 09:26:54 +00:00
|
|
|
//@ add-core-stubs
|
2021-01-24 17:15:05 +00:00
|
|
|
//@ compile-flags: --target thumbv8m.main-none-eabi --crate-type lib
|
2021-06-13 21:19:39 +03:00
|
|
|
//@ needs-llvm-components: arm
|
2021-06-13 22:06:11 +03:00
|
|
|
#![feature(abi_c_cmse_nonsecure_call, lang_items, no_core)]
|
|
|
|
|
#![no_core]
|
2025-02-24 09:26:54 +00:00
|
|
|
|
|
|
|
|
extern crate minicore;
|
|
|
|
|
use minicore::*;
|
2021-01-24 17:15:05 +00:00
|
|
|
|
|
|
|
|
extern "C-cmse-nonsecure-call" { //~ ERROR [E0781]
|
|
|
|
|
fn test();
|
|
|
|
|
}
|