llvm-for-llvmta/tools/clang/test/Modules/hidden-names.cpp

14 lines
258 B
C++
Raw Normal View History

2022-04-25 13:02:35 +02:00
// 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() {}