summaryrefslogtreecommitdiff
path: root/test/CodeGen/Generic/empty-insertvalue.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/Generic/empty-insertvalue.ll')
-rw-r--r--test/CodeGen/Generic/empty-insertvalue.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/Generic/empty-insertvalue.ll b/test/CodeGen/Generic/empty-insertvalue.ll
new file mode 100644
index 000000000000..e4cc27c2ffcf
--- /dev/null
+++ b/test/CodeGen/Generic/empty-insertvalue.ll
@@ -0,0 +1,7 @@
+; RUN: llc < %s
+
+define void @f() {
+entry:
+ %0 = insertvalue { [0 x { i8*, i8* }], [0 x { i8*, i64 }] } undef, [0 x { i8*, i8* }] undef, 0
+ ret void
+}