llvm-for-llvmta/tools/clang/test/Lexer/case-insensitive-include-pr...

10 lines
384 B
Bash
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// REQUIRES: case-insensitive-filesystem
// RUN: mkdir -p %t
// RUN: touch %t/case-insensitive-include-pr31836.h
// RUN: echo "#include \"\\\\\\\\?\\\\%t/Case-Insensitive-Include-Pr31836.h\"" | not %clang_cc1 -E - 2>&1 | FileCheck %s
// CHECK: error: {{.*}}file not found, did you mean
// CHECK: warning: non-portable path to file
// CHECK-SAME: /case-insensitive-include-pr31836.h