brintos

brintos / llvm-project-archived public Read only

0
0
Text · 698 B · 611ddd8 Raw
17 lines · c
1// RUN: rm -f %t.hmap2// RUN: %hmaptool write %S/Inputs/headermap-rel2/project-headers.hmap.json %t.hmap3 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.out5// RUN: FileCheck %s -input-file %t.out6 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.out8// RUN: FileCheck %s -input-file %t.out9 10// CHECK: Product/someheader.h11// CHECK: system/usr/include{{[/\\]+}}someheader.h12// CHECK: system/usr/include{{[/\\]+}}someheader.h13 14#include "someheader.h"15#include <someheader.h>16#include <someheader.h>17