Files
rust/tests/ui/feature-gates/feature-gate-asm_experimental_arch.rs
David Wood 92eb4450fa tests: use minicore more
minicore makes it much easier to add new language items to all of the
existing `no_core` tests.
2025-02-24 09:26:54 +00:00

16 lines
332 B
Rust

//@ add-core-stubs
//@ compile-flags: --target mips-unknown-linux-gnu
//@ needs-llvm-components: mips
#![feature(no_core, lang_items, rustc_attrs)]
#![crate_type = "rlib"]
#![no_core]
extern crate minicore;
use minicore::*;
unsafe fn main() {
asm!("");
//~^ ERROR inline assembly is not stable yet on this architecture
}