summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/CBackend/2003-05-31-MissingStructName.ll4
-rw-r--r--test/CodeGen/CBackend/2003-05-31-MissingStructName.ll4
2 files changed, 8 insertions, 0 deletions
diff --git a/test/CBackend/2003-05-31-MissingStructName.ll b/test/CBackend/2003-05-31-MissingStructName.ll
new file mode 100644
index 0000000000..1eae4062bb
--- /dev/null
+++ b/test/CBackend/2003-05-31-MissingStructName.ll
@@ -0,0 +1,4 @@
+; The C backend was dying when there was no typename for a struct type!
+
+declare int %test(int,{ [32 x int] }*)
+
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 0000000000..1eae4062bb
--- /dev/null
+++ b/test/CodeGen/CBackend/2003-05-31-MissingStructName.ll
@@ -0,0 +1,4 @@
+; The C backend was dying when there was no typename for a struct type!
+
+declare int %test(int,{ [32 x int] }*)
+