[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Modules / nested-template-default-arg-redecl.cpp
blob55568f8711d0f1d854d14810958eac23861e4b8b
1 // RUN: rm -rf %t
2 // RUN: %clang_cc1 -x c++ -fmodules -fimplicit-module-maps -fmodules-cache-path=%t \
3 // RUN: -I %S/Inputs/nested-template-default-arg-redecl -std=c++14 \
4 // RUN: -fmodules-local-submodule-visibility -w -verify %s
6 // expected-no-diagnostics
8 #include "alias2.h"
9 #include "var2.h"
10 #include "strct2.h"
11 #include "func2.h"
13 auto var = &var_outer::var<>;
14 auto func = &func_outer::func<>;
15 strct_outer::strct<> *strct;
16 alias_outer::alias<> *alias;