]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/cmse-nonsecure/cmse-nonsecure-call/wrong-abi-location-2.rs
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / cmse-nonsecure / cmse-nonsecure-call / wrong-abi-location-2.rs
index 78f553d747c20923c187899cf84bd4c1a2b70661..6f8bb24aa69e84f120992167cb011b87e052fc0c 100644 (file)
@@ -1,7 +1,9 @@
 // compile-flags: --target thumbv8m.main-none-eabi --crate-type lib
-// only-thumbv8m.main-none-eabi
-#![feature(abi_c_cmse_nonsecure_call)]
-#![no_std]
+// needs-llvm-components: arm
+#![feature(abi_c_cmse_nonsecure_call, lang_items, no_core)]
+#![no_core]
+#[lang="sized"]
+trait Sized { }
 
 extern "C-cmse-nonsecure-call" { //~ ERROR [E0781]
     fn test();