xref: /minix3/external/bsd/llvm/dist/clang/test/Preprocessor/headermap-rel.c (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc 
2*0a6a1f1dSLionel Sambuc // This uses a headermap with this entry:
3*0a6a1f1dSLionel Sambuc //   Foo.h -> Foo/Foo.h
4*0a6a1f1dSLionel Sambuc 
5*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -E %s -o %t.i -I %S/Inputs/headermap-rel/foo.hmap -F %S/Inputs/headermap-rel
6*0a6a1f1dSLionel Sambuc // RUN: FileCheck %s -input-file %t.i
7*0a6a1f1dSLionel Sambuc 
8*0a6a1f1dSLionel Sambuc // CHECK: Foo.h is parsed
9*0a6a1f1dSLionel Sambuc // CHECK: Foo.h is parsed
10*0a6a1f1dSLionel Sambuc 
11*0a6a1f1dSLionel Sambuc #include "Foo.h"
12*0a6a1f1dSLionel Sambuc #include "Foo.h"
13