From 7b3392326c40c3c20697816acae597ba7b3144eb Mon Sep 17 00:00:00 2001 From: dim Date: Thu, 20 Oct 2011 21:10:27 +0000 Subject: Vendor import of llvm release_30 branch r142614: http://llvm.org/svn/llvm-project/llvm/branches/release_30@142614 --- test/FrontendC/crash-invalid-array.c | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 test/FrontendC/crash-invalid-array.c (limited to 'test/FrontendC/crash-invalid-array.c') diff --git a/test/FrontendC/crash-invalid-array.c b/test/FrontendC/crash-invalid-array.c deleted file mode 100644 index d602f78..0000000 --- a/test/FrontendC/crash-invalid-array.c +++ /dev/null @@ -1,17 +0,0 @@ -// RUN: not %llvmgcc -O1 %s -S |& grep {error: invalid use of array with unspecified bounds} -// PR6913 - -#include - -int main() -{ - int x[10][10]; - int (*p)[] = x; // <-- this line is what triggered it - - int i; - - for(i = 0; i < 10; ++i) - { - p[i][i] = i; - } -} -- cgit v1.1