aboutsummaryrefslogtreecommitdiff
path: root/test/CFrontend/2007-10-01-BuildArrayRef.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CFrontend/2007-10-01-BuildArrayRef.c')
-rw-r--r--test/CFrontend/2007-10-01-BuildArrayRef.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/CFrontend/2007-10-01-BuildArrayRef.c b/test/CFrontend/2007-10-01-BuildArrayRef.c
deleted file mode 100644
index e903755230..0000000000
--- a/test/CFrontend/2007-10-01-BuildArrayRef.c
+++ /dev/null
@@ -1,8 +0,0 @@
-// RUN: not %llvmgcc -S %s -o /dev/null |& grep "error: assignment of read-only location"
-// PR 1603
-int func()
-{
- const int *arr;
- arr[0] = 1;
-}
-