Regression testcase for PR855.
authorBill Wendling <isanbard@gmail.com>
Fri, 22 Sep 2006 05:34:25 +0000 (05:34 +0000)
committerBill Wendling <isanbard@gmail.com>
Fri, 22 Sep 2006 05:34:25 +0000 (05:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30578 91177308-0d34-0410-b5e6-96231b3b80d8

test/CFrontend/2006-09-21-IncompleteElementType.c [new file with mode: 0644]

diff --git a/test/CFrontend/2006-09-21-IncompleteElementType.c b/test/CFrontend/2006-09-21-IncompleteElementType.c
new file mode 100644 (file)
index 0000000..1899f36
--- /dev/null
@@ -0,0 +1,3 @@
+// RUN: %llvmgcc %s -S -o /dev/null 2>&1 | not grep 'internal compiler error'
+
+struct A X[(927 - 37) / sizeof(struct A)];