1 | // RUN: rm -rf %t |
---|---|
2 | // RUN: %clang_cc1 -fimplicit-module-maps -fmodules-cache-path=%t -fmodules-decluse -fmodule-name=XG -I %S/Inputs/declare-use %s -verify |
3 | |
4 | #define ALLOWED_INC "b.h" |
5 | |
6 | #include "j.h" |
7 | |
8 | const int g2 = j; |
9 | |
10 | // expected-no-diagnostics |
11 |