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