Files
clang-p2996/clang/test/Modules/Inputs/declare-use/j.h
Manuel Klimek 98a9a6c667 Use the expansion location of the file name when finding the module.
The spelling location of stringified strings is not a file location.
Optimally, we'll want to solve the problem (as the FIXME states) by
handing in the right FileEntry of the #include location.

llvm-svn: 204220
2014-03-19 10:22:36 +00:00

15 lines
167 B
C

#ifndef J_H
#define J_H
#define STR(x) #x
#define HDR(x) STR(x.h)
#include ALLOWED_INC
#include HDR(a)
const int j = a * a + b;
// expected-no-diagnostics
#endif