Home | History | Annotate | Download | only in Modules
      1 // RUN: rm -rf %t
      2 // RUN: %clang_cc1 -fimplicit-module-maps -fmodules-cache-path=%t -fmodules-decluse -fmodule-name=XN -I %S/Inputs/declare-use %s -verify
      3 
      4 
      5 #include "sub.h"
      6 
      7 const int a = sub;
      8 
      9 // expected-no-diagnostics
     10