brintos

brintos / llvm-project-archived public Read only

0
0
Text · 595 B · 20e0fc6 Raw
11 lines · c
1// REQUIRES: case-insensitive-filesystem2 3// RUN: mkdir -p %t/asystempath4// RUN: cp %S/Inputs/case-insensitive-include.h %t/asystempath/5// RUN: cd %t6// RUN: %clang_cc1 -fsyntax-only %s -include %s -isystem %t/asystempath -verify -Wnonportable-system-include-path7// RUN: %clang_cc1 -fsyntax-only -fdiagnostics-parseable-fixits %s -include %s -isystem %t/asystempath -Wnonportable-system-include-path 2>&1 | FileCheck %s8 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\""11