diff options
Diffstat (limited to 'llvm/test/Assembler/invalid-uselistorder-function-missing-named.ll')
-rw-r--r-- | llvm/test/Assembler/invalid-uselistorder-function-missing-named.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/Assembler/invalid-uselistorder-function-missing-named.ll b/llvm/test/Assembler/invalid-uselistorder-function-missing-named.ll new file mode 100644 index 00000000000..c682fbe77c1 --- /dev/null +++ b/llvm/test/Assembler/invalid-uselistorder-function-missing-named.ll @@ -0,0 +1,6 @@ +; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s +; CHECK: error: value has no uses +define void @foo() { + unreachable + uselistorder i32 %val, { 1, 0 } +} |