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
11 lines
236 B
C++
11 lines
236 B
C++
// RUN: rm -rf %t
|
|
// RUN: %clang_cc1 -fmodule-maps -fmodules-cache-path=%t -fmodules-decluse -fmodule-name=XG -I %S/Inputs/declare-use %s -verify
|
|
|
|
#define ALLOWED_INC "b.h"
|
|
|
|
#include "j.h"
|
|
|
|
const int g2 = j;
|
|
|
|
// expected-no-diagnostics
|