summaryrefslogtreecommitdiffstats
path: root/test/Modules/filename.cpp
blob: 66891a04b74495e74f6fb55f5132b7ffdd4e2138 (plain)
1
2
3
4
5
6
7
8
9
// RUN: cd %S
// RUN: %clang_cc1 -I. -fmodule-maps -fmodule-name=A  -fmodule-map-file=%S/Inputs/filename/module.map %s -E | FileCheck %s
// REQUIRES: shell

#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"
OpenPOWER on IntegriCloud