summaryrefslogtreecommitdiff
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.ll5
1 files changed, 5 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 000000000000..fb7e2ba69fd5
--- /dev/null
+++ b/test/CodeGen/CBackend/2003-05-31-MissingStructName.ll
@@ -0,0 +1,5 @@
+; RUN: llvm-as < %s | llc -march=c
+
+; The C backend was dying when there was no typename for a struct type!
+
+declare i32 @test(i32, { [32 x i32] }*)