aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-05-31 23:27:10 +0000
committerChris Lattner <sabre@nondot.org>2003-05-31 23:27:10 +0000
commit8afdc7de1c3f8abcd4660b89621f03119c5415c7 (patch)
tree314c2efd8512a61d0ba7b6e888789627bccea770
parentc16e631e943c3e8460598389c3fff57d1f73c17c (diff)
downloadexternal_llvm-8afdc7de1c3f8abcd4660b89621f03119c5415c7.zip
external_llvm-8afdc7de1c3f8abcd4660b89621f03119c5415c7.tar.gz
external_llvm-8afdc7de1c3f8abcd4660b89621f03119c5415c7.tar.bz2
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6494 91177308-0d34-0410-b5e6-96231b3b80d8
-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 0000000..1eae406
--- /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 0000000..1eae406
--- /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] }*)
+