forked from OSchip/llvm-project
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
|