aboutsummaryrefslogtreecommitdiff
path: root/test/FrontendC/crash-invalid-array.c
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-07-26 23:49:39 +0000
committerEric Christopher <echristo@apple.com>2011-07-26 23:49:39 +0000
commite927dc654f4d9529bd13783680636cb0db0eb852 (patch)
tree3cabfda420d2a0dc0abe391ac0f3700b3ef5451e /test/FrontendC/crash-invalid-array.c
parent00005782fa860f4b48b3b5261d92541c61ee2495 (diff)
Remove test/FrontendC, almost all of the tests have been migrated
to clang now, the rest are in process (6) or have been deleted. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136191 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FrontendC/crash-invalid-array.c')
-rw-r--r--test/FrontendC/crash-invalid-array.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/test/FrontendC/crash-invalid-array.c b/test/FrontendC/crash-invalid-array.c
deleted file mode 100644
index d602f78545..0000000000
--- 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 <stdio.h>
-
-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;
- }
-}