aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/invalid-uselistorder_bb-missing-func.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/invalid-uselistorder_bb-missing-func.ll')
-rw-r--r--test/Assembler/invalid-uselistorder_bb-missing-func.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Assembler/invalid-uselistorder_bb-missing-func.ll b/test/Assembler/invalid-uselistorder_bb-missing-func.ll
new file mode 100644
index 0000000..5a1466f
--- /dev/null
+++ b/test/Assembler/invalid-uselistorder_bb-missing-func.ll
@@ -0,0 +1,3 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+; CHECK: error: invalid function forward reference in uselistorder_bb
+uselistorder_bb @foo, %bb, { 1, 0 }