aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/invalid-uselistorder_bb-not-bb.ll
blob: e59e7543ae7d98a518d85051473e43c94c0da50e (plain)
1
2
3
4
5
6
; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
; CHECK: error: expected basic block in uselistorder_bb
define i32 @foo(i32 %arg) {
  ret i32 %arg
}
uselistorder_bb @foo, %arg, { 1, 0 }