| 1 | // RUN: rm -f %t.hmap |
| 2 | // RUN: %hmaptool write %S/Inputs/headermap-rel2/project-headers.hmap.json %t.hmap |
| 3 | // RUN: %clang_cc1 -v -fsyntax-only %s -iquote %t.hmap -isystem %S/Inputs/headermap-rel2/system/usr/include -I %S/Inputs/headermap-rel2 -H |
| 4 | // RUN: %clang_cc1 -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 |
| 6 | |
| 7 | // CHECK: Product/someheader.h |
| 8 | // CHECK: system/usr/include{{[/\\]+}}someheader.h |
| 9 | // CHECK: system/usr/include{{[/\\]+}}someheader.h |
| 10 | |
| 11 | #include "someheader.h" |
| 12 | #include <someheader.h> |
| 13 | #include <someheader.h> |
| 14 | |