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
15 lines
167 B
C
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
|