[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Modules / recursive_visibility.mm
blob12894f3366e8b3f1b0b14c063e71c8b0e3beec09
1 // RUN: rm -rf %t
2 // RUN: %clang_cc1 -x objective-c++ -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs %s -verify -std=c++11
4 // expected-no-diagnostics
6 @import recursive_visibility_c;
8 template<typename T> struct Z { typedef T type; };
9 template void g<Z>();