declare-use5.cpp 222 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 // RUN: rm -rf %t // RUN: %clang_cc1 -fimplicit-module-maps -fmodules-cache-path=%t -fmodules-decluse -fmodule-name=XN -I %S/Inputs/declare-use %s -verify #include "sub.h" const int a = sub; // expected-no-diagnostics