about summary refs log tree commit diff
path: root/tests/ui/feature-gates/feature-gate-asm_experimental_arch.rs
blob: a3b41e071954ad95e6b879054ade80b20215178a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//@ 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
}