aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/CBackend/2003-05-31-MissingStructName.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/CBackend/2003-05-31-MissingStructName.ll')
-rw-r--r--test/CodeGen/CBackend/2003-05-31-MissingStructName.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/CBackend/2003-05-31-MissingStructName.ll b/test/CodeGen/CBackend/2003-05-31-MissingStructName.ll
new file mode 100644
index 0000000..567d8e4
--- /dev/null
+++ b/test/CodeGen/CBackend/2003-05-31-MissingStructName.ll
@@ -0,0 +1,6 @@
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=c
+
+; The C backend was dying when there was no typename for a struct type!
+
+declare int %test(int,{ [32 x int] }*)
+