aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/invalid-uselistorder_bb-numbered.ll
blob: d7d170f769ff6c203601cd1b080c55f68a3e746d (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
; CHECK: error: invalid numeric label in uselistorder_bb

@ba1 = constant i8* blockaddress (@foo, %1)

define void @foo() {
  br label %1
  unreachable
}

uselistorder_bb @foo, %1, { 1, 0 }