1 # RUN: not llc -march=x86-64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
2 # This test ensures that an error is reported when an undefined global value is
7 @G = external global i32
11 %a = load i32, i32* @G
21 ; CHECK: [[@LINE+1]]:32: use of undefined global value '@GG'
22 $rax = MOV64rm $rip, 1, _, @GG, _
23 $eax = MOV32rm $rax, 1, _, 0, _