[TwoAddressInstructionPass] When looking for a 3 addr conversion after commuting...
[oota-llvm.git] / test / CodeGen / X86 / inline-asm-bad-constraint-n.ll
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 }