summaryrefslogtreecommitdiff
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CFrontend/2007-10-01-BuildArrayRef.c b/test/CFrontend/2007-10-01-BuildArrayRef.c
index fb8ee3dc1e..e903755230 100644
--- a/test/CFrontend/2007-10-01-BuildArrayRef.c
+++ b/test/CFrontend/2007-10-01-BuildArrayRef.c
@@ -1,4 +1,4 @@
-// RUN: %llvmgcc -S %s -o /dev/null |& grep "error: assignment of read-only location"
+// RUN: not %llvmgcc -S %s -o /dev/null |& grep "error: assignment of read-only location"
// PR 1603
int func()
{