10 lines · bash
1// REQUIRES: case-insensitive-filesystem2 3// RUN: mkdir -p %t4// RUN: touch %t/case-insensitive-include-pr31836.h5// RUN: echo "#include \"\\\\\\\\?\\\\%t/Case-Insensitive-Include-Pr31836.h\"" | not %clang_cc1 -E - 2>&1 | FileCheck %s6 7// CHECK: error: {{.*}}file not found, did you mean8// CHECK: warning: non-portable path to file9// CHECK-SAME: /case-insensitive-include-pr31836.h10