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

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