summaryrefslogtreecommitdiffstats
path: root/test/PCH/modified-header-error.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/PCH/modified-header-error.c')
-rw-r--r--test/PCH/modified-header-error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/PCH/modified-header-error.c b/test/PCH/modified-header-error.c
index 4ad3faf..8ab38e1 100644
--- a/test/PCH/modified-header-error.c
+++ b/test/PCH/modified-header-error.c
@@ -4,7 +4,7 @@
// RUN: cp %s %t.dir/t.c
// RUN: %clang_cc1 -x c-header %t.dir/header1.h -emit-pch -o %t.pch
// RUN: echo >> %t.dir/header2.h
-// RUN: %clang_cc1 %t.dir/t.c -include-pch %t.pch -fsyntax-only 2>&1 | FileCheck %s
+// RUN: not %clang_cc1 %t.dir/t.c -include-pch %t.pch -fsyntax-only 2>&1 | FileCheck %s
#include "header2.h"
OpenPOWER on IntegriCloud