[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Modules / merge-template-specializations.cpp
blob1f8e68a2e925a42dfa5b53fdda643d1ce1e70413
1 // RUN: rm -rf %t
2 // RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -fimplicit-module-maps -fmodules-local-submodule-visibility -I%S/Inputs/merge-template-specializations -std=c++11 -verify %s
3 // expected-no-diagnostics
4 #include "c.h"
5 X x;
7 void test_var_template() {
8 use_var_template<int>(0);