summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/test/Regression/CodeGen/SparcV9/2004-12-13-MallocCrash.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/Regression/CodeGen/SparcV9/2004-12-13-MallocCrash.ll b/llvm/test/Regression/CodeGen/SparcV9/2004-12-13-MallocCrash.ll
new file mode 100644
index 00000000000..b6ad2e78880
--- /dev/null
+++ b/llvm/test/Regression/CodeGen/SparcV9/2004-12-13-MallocCrash.ll
@@ -0,0 +1,6 @@
+; RUN: llvm-as < %s | llc -march=sparcv9
+
+void %main() {
+ %tmp.0.i2.i = malloc [24 x sbyte]
+ ret void
+}
OpenPOWER on IntegriCloud