blob: 9d5289cda2da2e6f3826e216c908812894ec4fed [file] [log] [blame]
Taewook Ohf42103c2016-06-13 20:40:21 +00001// REQUIRES: case-insensitive-filesystem
2
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
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\""