[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Modules / hidden-names.cpp
blobba945a1d3c8b2bd265d80b05f90323ce592c2a7d
1 // RUN: rm -rf %t
2 // RUN: %clang_cc1 -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -I %S/Inputs/hidden-names %s -verify
3 // expected-no-diagnostics
5 #include "visible.h"
7 using namespace NS;
9 namespace {
10 struct X { void f(); };
13 void X::f() {}