From 8afdc7de1c3f8abcd4660b89621f03119c5415c7 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 31 May 2003 23:27:10 +0000 Subject: [PATCH] New testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6494 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CBackend/2003-05-31-MissingStructName.ll | 4 ++++ test/CodeGen/CBackend/2003-05-31-MissingStructName.ll | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 test/CBackend/2003-05-31-MissingStructName.ll create mode 100644 test/CodeGen/CBackend/2003-05-31-MissingStructName.ll diff --git a/test/CBackend/2003-05-31-MissingStructName.ll b/test/CBackend/2003-05-31-MissingStructName.ll new file mode 100644 index 00000000000..1eae4062bb2 --- /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 00000000000..1eae4062bb2 --- /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] }*) + -- 2.34.1