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