about summary refs log tree commit diff
path: root/src/test/ui/llvm-asm/issue-37433.rs
blob: 1c362e8aba058e621b081270e8ee209fe84dd20f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// build-fail
// ignore-emscripten no llvm_asm! support

#![feature(llvm_asm)]
#![allow(deprecated)] // llvm_asm!

fn main() {
    unsafe {
        llvm_asm!("" :: "r"(""));
        //~^ ERROR: invalid value for constraint in inline assembly
    }
}