Taewook Oh | f42103c | 2016-06-13 20:40:21 +0000 | [diff] [blame] | 1 | // REQUIRES: case-insensitive-filesystem |
| 2 | |
Kuba Mracek | 5b57633 | 2017-08-15 19:47:06 +0000 | [diff] [blame] | 3 | // RUN: mkdir -p %t/asystempath |
| 4 | // RUN: cp %S/Inputs/case-insensitive-include.h %t/asystempath/ |
| 5 | // RUN: cd %t |
| 6 | // RUN: %clang_cc1 -fsyntax-only %s -include %s -isystem %t/asystempath -verify -Wnonportable-system-include-path |
| 7 | // RUN: %clang_cc1 -fsyntax-only -fdiagnostics-parseable-fixits %s -include %s -isystem %t/asystempath -Wnonportable-system-include-path 2>&1 | FileCheck %s |
Taewook Oh | f42103c | 2016-06-13 20:40:21 +0000 | [diff] [blame] | 8 | |
| 9 | #include "CASE-INSENSITIVE-INCLUDE.H" // expected-warning {{non-portable path}} |
| 10 | // CHECK: fix-it:"{{.*}}":{[[@LINE-1]]:10-[[@LINE-1]]:38}:"\"case-insensitive-include.h\"" |