llvm-project/clang/test/Modules/hidden-names.cpp
Richard Smith 76ea19641e [modules] Additional tests.
llvm-svn: 293223
2017-01-26 23:07:59 +00:00

14 lines
258 B
C++

// 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() {}