[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Modules / merge-var-template-def.cpp
blob97a72a194d9d0a53b734480fe6c199250ca42f67
1 // RUN: rm -rf %t
2 // RUN: %clang_cc1 -I%S/Inputs/merge-var-template-def -std=c++11 -verify %s
3 // RUN: %clang_cc1 -I%S/Inputs/merge-var-template-def -std=c++11 -verify -fmodules -Werror=undefined-internal -fmodules-local-submodule-visibility -fmodules-cache-path=%t -fimplicit-module-maps %s
4 // expected-no-diagnostics
6 #include "b2.h"
7 const bool *y = &S<bool, false>::value;