2014-08-13 20:34:41 +08:00
|
|
|
// RUN: cd %S
|
2015-06-16 08:08:24 +08:00
|
|
|
// RUN: %clang_cc1 -I. -fmodule-name=A -fmodule-map-file=%S/Inputs/filename/module.map %s -E | FileCheck %s
|
2014-08-13 20:34:41 +08:00
|
|
|
|
|
|
|
#include "Inputs/filename/a.h"
|
|
|
|
|
|
|
|
// Make sure that headers that are referenced by module maps have __FILE__
|
|
|
|
// reflect the include path they were found with.
|
|
|
|
// CHECK: const char *p = "./Inputs/filename/a.h"
|