aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-03-08 16:19:02 +0000
committerChris Lattner <sabre@nondot.org>2005-03-08 16:19:02 +0000
commit13a04bcd0737685fcf6d96979c2a81e25fc0ca0b (patch)
tree7f5f54f23b4e940f9fa6b044acacce45c27f3e0f
parentca0a9091c4d95933def47a78e21b2eeae5f38802 (diff)
new testcase that crashes the CBE.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20518 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/CBackend/2005-03-08-RecursiveTypeCrash.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CodeGen/CBackend/2005-03-08-RecursiveTypeCrash.ll b/test/CodeGen/CBackend/2005-03-08-RecursiveTypeCrash.ll
new file mode 100644
index 0000000000..382c817d6d
--- /dev/null
+++ b/test/CodeGen/CBackend/2005-03-08-RecursiveTypeCrash.ll
@@ -0,0 +1,5 @@
+; RUN: llvm-as < %s | llc -march=c
+
+%JNIEnv = type %struct.JNINa*
+%struct.JNINa = type { sbyte*, sbyte*, sbyte*, void (%JNIEnv*)* }
+