1 # RUN: not llc -march=x86-64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
5 @G = external global i32
19 ; CHECK: [[@LINE+1]]:45: use of undefined target flag 'x86-test'
20 $rax = MOV64rm $rip, 1, _, target-flags(x86-test) @G, _
21 $eax = MOV32rm killed $rax, 1, _, 0, _
22 $eax = INC32r killed $eax, implicit-def dead $eflags