summaryrefslogtreecommitdiff
path: root/test/Modules/hidden-names.cpp
blob: ba945a1d3c8b2bd265d80b05f90323ce592c2a7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// RUN: rm -rf %t
// RUN: %clang_cc1 -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -I %S/Inputs/hidden-names %s -verify
// expected-no-diagnostics

#include "visible.h"

using namespace NS;

namespace {
  struct X { void f(); };
}

void X::f() {}