aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/CPP/2012-02-05-UnitVarCrash.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/CPP/2012-02-05-UnitVarCrash.ll')
-rw-r--r--test/CodeGen/CPP/2012-02-05-UnitVarCrash.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/CPP/2012-02-05-UnitVarCrash.ll b/test/CodeGen/CPP/2012-02-05-UnitVarCrash.ll
new file mode 100644
index 000000000000..419f59476784
--- /dev/null
+++ b/test/CodeGen/CPP/2012-02-05-UnitVarCrash.ll
@@ -0,0 +1,6 @@
+; RUN: llc < %s -march=cpp
+declare void @foo(<4 x i32>)
+define void @bar() {
+ call void @foo(<4 x i32> <i32 0, i32 1, i32 2, i32 3>)
+ ret void
+}