]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-asm_experimental_arch.rs
parser will not give wrong help message for 'public'
[rust.git] / src / test / ui / feature-gates / feature-gate-asm_experimental_arch.rs
1 // compile-flags: --target mips-unknown-linux-gnu
2 // needs-llvm-components: mips
3
4 #![feature(no_core, lang_items, rustc_attrs)]
5 #![crate_type = "rlib"]
6 #![no_core]
7
8 #[rustc_builtin_macro]
9 macro_rules! asm {
10     () => {};
11 }
12
13 #[lang = "sized"]
14 trait Sized {}
15 #[lang = "copy"]
16 trait Copy {}
17
18 unsafe fn main() {
19     asm!("");
20     //~^ ERROR inline assembly is not stable yet on this architecture
21 }