1 // REQUIRES: case-insensitive-filesystem
3 // Test this without pch.
4 // RUN: mkdir -p %t-dir
5 // RUN: cp %S/Inputs/case-insensitive-include.h %t-dir
6 // RUN: %clang_cc1 -Wno-nonportable-include-path -fsyntax-only %s -include %s -I %t-dir -verify
9 // RUN: %clang_cc1 -emit-pch -o %t.pch %s -I %t-dir
11 // Modify inode of the header.
12 // RUN: cp %t-dir/case-insensitive-include.h %t.copy
13 // RUN: touch -r %t-dir/case-insensitive-include.h %t.copy
14 // RUN: mv %t.copy %t-dir/case-insensitive-include.h
16 // RUN: %clang_cc1 -Wno-nonportable-include-path -fsyntax-only %s -include-pch %t.pch -I %t-dir -verify
18 // expected-no-diagnostics
23 #include "case-insensitive-include.h"
24 #include "Case-Insensitive-Include.h"
28 #include "Case-Insensitive-Include.h"