diff options
Diffstat (limited to 'test/Preprocessor/headermap-rel.c')
-rw-r--r-- | test/Preprocessor/headermap-rel.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/Preprocessor/headermap-rel.c b/test/Preprocessor/headermap-rel.c new file mode 100644 index 000000000000..38500a70f697 --- /dev/null +++ b/test/Preprocessor/headermap-rel.c @@ -0,0 +1,12 @@ + +// This uses a headermap with this entry: +// Foo.h -> Foo/Foo.h + +// RUN: %clang_cc1 -E %s -o %t.i -I %S/Inputs/headermap-rel/foo.hmap -F %S/Inputs/headermap-rel +// RUN: FileCheck %s -input-file %t.i + +// CHECK: Foo.h is parsed +// CHECK: Foo.h is parsed + +#include "Foo.h" +#include "Foo.h" |