summaryrefslogtreecommitdiff
path: root/test/PCH/case-insensitive-include.c
diff options
context:
space:
mode:
authorTaewook Oh <twoh@fb.com>2016-06-13 20:40:21 +0000
committerTaewook Oh <twoh@fb.com>2016-06-13 20:40:21 +0000
commit50eca98dda9eb9dba0aa3e30830c13650de44a42 (patch)
tree22622a420ad47dbbb03acb38ac8ed619c4d70cd4 /test/PCH/case-insensitive-include.c
parent6f040c194957e95dbdbb03e9fc3481361476281b (diff)
downloadclang-50eca98dda9eb9dba0aa3e30830c13650de44a42.tar.gz
Use the name of the file on disk to issue a new diagnostic about non-portable #include and #import paths.
Differential Revision: http://reviews.llvm.org/D19843 Corresponding LLVM change: http://reviews.llvm.org/D19842 Re-commit of r272562 after addressing clang-x86-win2008-selfhost failure. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@272584 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/PCH/case-insensitive-include.c')
-rw-r--r--test/PCH/case-insensitive-include.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/PCH/case-insensitive-include.c b/test/PCH/case-insensitive-include.c
index 707de702f1..1dcda273c2 100644
--- a/test/PCH/case-insensitive-include.c
+++ b/test/PCH/case-insensitive-include.c
@@ -2,7 +2,7 @@
// Test this without pch.
// RUN: cp %S/Inputs/case-insensitive-include.h %T
-// RUN: %clang_cc1 -fsyntax-only %s -include %s -I %T -verify
+// RUN: %clang_cc1 -Wno-nonportable-include-path -fsyntax-only %s -include %s -I %T -verify
// Test with pch.
// RUN: %clang_cc1 -emit-pch -o %t.pch %s -I %T