llvm-capstone/clang/test/Preprocessor/headermap-rel.c
Argyrios Kyrtzidis 34fad42003 [HeaderSearch] Fix issue where if a headermap entry maps the filename to a framework import (non-absolute path)
then we fail to find it if it is re-included later on.

rdar://16285490

llvm-svn: 203542
2014-03-11 06:21:28 +00:00

13 lines
290 B
C

// 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"