Home | History | Annotate | Download | only in Preprocessor
      1 // This uses a headermap with this entry:
      2 //   someheader.h -> Product/someheader.h
      3 
      4 // RUN: %clang_cc1 -triple x86_64-apple-darwin13 -v -fsyntax-only %s -iquote %S/Inputs/headermap-rel2/project-headers.hmap -isysroot %S/Inputs/headermap-rel2/system -I %S/Inputs/headermap-rel2 -H
      5 // RUN: %clang_cc1 -triple x86_64-apple-darwin13 -fsyntax-only %s -iquote %S/Inputs/headermap-rel2/project-headers.hmap -isysroot %S/Inputs/headermap-rel2/system -I %S/Inputs/headermap-rel2 -H 2> %t.out
      6 // RUN: FileCheck %s -input-file %t.out
      7 
      8 // CHECK: Product/someheader.h
      9 // CHECK: system/usr/include{{[/\\]+}}someheader.h
     10 // CHECK: system/usr/include{{[/\\]+}}someheader.h
     11 
     12 #include "someheader.h"
     13 #include <someheader.h>
     14 #include <someheader.h>
     15