xref: /aosp_15_r20/external/llvm/test/Assembler/invalid-uselistorder_bb-numbered.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
2; CHECK: error: invalid numeric label in uselistorder_bb
3
4@ba1 = constant i8* blockaddress (@foo, %1)
5
6define void @foo() {
7  br label %1
8  unreachable
9}
10
11uselistorder_bb @foo, %1, { 1, 0 }
12