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)];