summaryrefslogtreecommitdiff
path: root/test/Modules/internal-constants.cpp
blob: f95e95cc8bbb9d393dc2d548460d23a4e8d90f8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: rm -rf %t
// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -fmodules-local-submodule-visibility -I%S/Inputs/internal-constants %s -verify

// expected-no-diagnostics
#include "c.h"

int q = h();
int r = N::k;

#include "b.h"

int s = N::k; // FIXME: This should be ambiguous if we really want internal linkage declarations to not collide.