diff options
Diffstat (limited to 'test/Assembler/extractvalue-no-idx.ll')
-rw-r--r-- | test/Assembler/extractvalue-no-idx.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Assembler/extractvalue-no-idx.ll b/test/Assembler/extractvalue-no-idx.ll new file mode 100644 index 0000000..b313209 --- /dev/null +++ b/test/Assembler/extractvalue-no-idx.ll @@ -0,0 +1,8 @@ +; RUN: not llvm-as < %s 2>&1 | FileCheck %s + +; CHECK: expected index + +define void @f1() { + extractvalue <{ i32, i32 }> undef, !dbg !0 + ret void +} |