mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-02 10:18:25 +00:00
11 lines
295 B
Rust
11 lines
295 B
Rust
//@ add-core-stubs
|
|
//@ compile-flags: --target thumbv8m.main-none-eabi --crate-type lib
|
|
//@ needs-llvm-components: arm
|
|
#![feature(abi_cmse_nonsecure_call, lang_items, no_core)]
|
|
#![no_core]
|
|
|
|
extern crate minicore;
|
|
use minicore::*;
|
|
|
|
pub extern "cmse-nonsecure-call" fn test() {} //~ ERROR [E0781]
|