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]]:42: register operands can't have target flags
20 $rax = MOV64rm target-flags(x86-got) $rip, 1, _, @G, _
21 $eax = MOV32rm killed $rax, 1, _, 0, _
22 $eax = INC32r killed $eax, implicit-def dead $eflags