[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Modules / local-visibility.cpp
blobfa2d20c43361069e3dcf366548f8b70b26730d55
1 // RUN: %clang_cc1 -fsyntax-only -fmodules %s -verify
2 // RUN: %clang_cc1 -fsyntax-only %s -verify
4 // expected-no-diagnostics
5 template <typename Var>
6 struct S {
7 template <unsigned N>
8 struct Inner { };
10 template <>
11 struct Inner<0> { };
14 S<int>::Inner<1> I1;
15 S<int>::Inner<0> I0;