diff options
Diffstat (limited to 'test/Assembler/invalid-uselistorder_bb-not-func.ll')
-rw-r--r-- | test/Assembler/invalid-uselistorder_bb-not-func.ll | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Assembler/invalid-uselistorder_bb-not-func.ll b/test/Assembler/invalid-uselistorder_bb-not-func.ll new file mode 100644 index 0000000..080ddc1 --- /dev/null +++ b/test/Assembler/invalid-uselistorder_bb-not-func.ll @@ -0,0 +1,4 @@ +; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s +; CHECK: error: expected function name in uselistorder_bb +@global = global i1 0 +uselistorder_bb @global, %bb, { 1, 0 } |