xref: /minix3/external/bsd/llvm/dist/clang/test/Modules/filename.cpp (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
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"
10