Home | History | Annotate | Download | only in X86
      1 ; RUN: not llc -march=x86 -no-integrated-as < %s 2>&1 | FileCheck %s
      2 
      3 @x = global i32 0, align 4
      4 
      5 ;CHECK:	error: invalid operand for inline asm constraint 'n'
      6 define void @foo() {
      7   %a = getelementptr i32, i32* @x, i32 1
      8   call void asm sideeffect "foo $0", "n"(i32* %a) nounwind
      9   ret void
     10 }
     11