2 // RUN: %hmaptool write %S/Inputs/headermap-rel2/project-headers.hmap.json %t.hmap
4 // RUN: %clang -fsyntax-only %s -iquote %t.hmap -isystem %S/Inputs/headermap-rel2/system/usr/include -I %S/Inputs/headermap-rel2 -H 2> %t.out
5 // RUN: FileCheck %s -input-file %t.out
7 // RUN: env CC_PRINT_HEADERS=1 %clang -fsyntax-only %s -iquote %t.hmap -isystem %S/Inputs/headermap-rel2/system/usr/include -I %S/Inputs/headermap-rel2 2> %t.out
8 // RUN: FileCheck %s -input-file %t.out
10 // CHECK: Product/someheader.h
11 // CHECK: system/usr/include{{[/\\]+}}someheader.h
12 // CHECK: system/usr/include{{[/\\]+}}someheader.h
14 #include "someheader.h"
15 #include <someheader.h>
16 #include <someheader.h>