summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/cl-pch-search.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Driver/cl-pch-search.cpp')
-rw-r--r--clang/test/Driver/cl-pch-search.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/Driver/cl-pch-search.cpp b/clang/test/Driver/cl-pch-search.cpp
index 118cf19efbd..fd503f1f801 100644
--- a/clang/test/Driver/cl-pch-search.cpp
+++ b/clang/test/Driver/cl-pch-search.cpp
@@ -4,3 +4,7 @@
// REQUIRES: x86-registered-target
// Check that pchfile.h next to to pchfile.cc is found correctly.
// RUN: %clang_cl -Werror /Ycpchfile.h /FIpchfile.h /c /Fo%t.obj /Fp%t.pch -- %S/Inputs/pchfile.cpp
+
+// Check that i_group flags other than -include aren't skipped (e.g. -isystem).
+#include "header0.h"
+// RUN: %clang_cl -Werror -isystem%S/Inputs /Yupchfile.h /FIpchfile.h /c /Fo%t.obj /Fp%t.pch -- %s
OpenPOWER on IntegriCloud