From f30e0eed4c298084c55e6c8e260b48bf62318227 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Fri, 22 Sep 2006 05:34:25 +0000 Subject: [PATCH] Regression testcase for PR855. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30578 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CFrontend/2006-09-21-IncompleteElementType.c | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 test/CFrontend/2006-09-21-IncompleteElementType.c diff --git a/test/CFrontend/2006-09-21-IncompleteElementType.c b/test/CFrontend/2006-09-21-IncompleteElementType.c new file mode 100644 index 00000000000..1899f363e25 --- /dev/null +++ b/test/CFrontend/2006-09-21-IncompleteElementType.c @@ -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)];