summaryrefslogtreecommitdiffstats
path: root/clang/test/PCH/exprs.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/PCH/exprs.c')
-rw-r--r--clang/test/PCH/exprs.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/clang/test/PCH/exprs.c b/clang/test/PCH/exprs.c
index 5928abda58f..c0b279f88a3 100644
--- a/clang/test/PCH/exprs.c
+++ b/clang/test/PCH/exprs.c
@@ -3,7 +3,11 @@
// Test with pch.
// RUN: %clang_cc1 -emit-pch -fblocks -o %t %S/exprs.h
-// RUN: %clang_cc1 -fblocks -include-pch %t -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fblocks -include-pch %t -fsyntax-only -verify %s -DWITH_PCH
+
+#ifdef WITH_PCH
+// expected-no-diagnostics
+#endif
__SIZE_TYPE__ size_type_value;
int integer;
OpenPOWER on IntegriCloud