Clang Project

clang_source_code/test/Modules/filename.cpp
1// RUN: cd %S
2// RUN: %clang_cc1 -I. -fmodule-name=A  -fmodule-map-file=%S/Inputs/filename/module.map %s -E | FileCheck %s
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"
9