Fix PR2096, a regression introduced with my patch last night. This
[oota-llvm.git] / test / CFrontend / 2007-10-01-BuildArrayRef.c
index fb8ee3dc1e75590fc82547af4781d97b61ffb9a2..e9037552308a20ec64d3bedbf201134ff639654a 100644 (file)
@@ -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()
 {