1 # RUN: not llc -march=x86-64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
5 @addr = global i8* null
9 store volatile i8* blockaddress(@test, %0), i8** @addr
10 %val = load volatile i8*, i8** @addr
11 indirectbr i8* %val, [label %0]
22 ; CHECK: [[@LINE+1]]:51: use of undefined IR block '%ir-block.1'
23 $rax = LEA64r $rip, 1, _, blockaddress(@test, %ir-block.1), _
24 MOV64mr $rip, 1, _, @addr, _, killed $rax
25 JMP64m $rip, 1, _, @addr, _