2018-06-22 05:45:24 +08:00
|
|
|
// RUN: rm -f %t.hmap
|
2018-06-22 17:46:40 +08:00
|
|
|
// RUN: %hmaptool write %S/Inputs/headermap-rel2/project-headers.hmap.json %t.hmap
|
2020-02-25 05:07:16 +08:00
|
|
|
|
|
|
|
// 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
|
|
|
|
// RUN: FileCheck %s -input-file %t.out
|
|
|
|
|
|
|
|
// 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
|
2014-03-29 11:22:54 +08:00
|
|
|
// RUN: FileCheck %s -input-file %t.out
|
|
|
|
|
|
|
|
// CHECK: Product/someheader.h
|
2014-03-30 23:09:08 +08:00
|
|
|
// CHECK: system/usr/include{{[/\\]+}}someheader.h
|
|
|
|
// CHECK: system/usr/include{{[/\\]+}}someheader.h
|
2014-03-29 11:22:54 +08:00
|
|
|
|
|
|
|
#include "someheader.h"
|
|
|
|
#include <someheader.h>
|
|
|
|
#include <someheader.h>
|