Manuel Klimek | c0ff990 | 2014-08-13 12:34:41 +0000 | [diff] [blame^] | 1 | // RUN: cd %S |
2 | // RUN: %clang_cc1 -I. -fmodule-maps -fmodule-name=A -fmodule-map-file=%S/Inputs/filename/module.map %s -E | FileCheck %s | ||||
3 | // REQUIRES: shell | ||||
4 | |||||
5 | #include "Inputs/filename/a.h" | ||||
6 | |||||
7 | // Make sure that headers that are referenced by module maps have __FILE__ | ||||
8 | // reflect the include path they were found with. | ||||
9 | // CHECK: const char *p = "./Inputs/filename/a.h" |