summaryrefslogtreecommitdiff
path: root/test/Modules/declare-use4.cpp
blob: 621422f0109b078a59296d134c3ada829f65427f (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: rm -rf %t
// RUN: %clang_cc1 -fimplicit-module-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