summary refs log tree commit diff
path: root/src/test/ui/feature-gates/feature-gate-asm2.rs
blob: e9349acb64394e149b9682c9647e5405026ba4f4 (plain)
1
2
3
4
5
6
7
8
9
10
// ignore-emscripten

fn main() {
    unsafe {
        println!("{:?}", asm!(""));
        //~^ ERROR inline assembly is not stable enough
        println!("{:?}", llvm_asm!(""));
        //~^ ERROR prefer using the new asm! syntax instead
    }
}