[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Modules / cxx20-10-2-ex3.cpp
blobf9b515e869bf506110cf53fae6f08be732d74c1f
1 // Based on C++20 10.2 example 3.
3 // RUN: %clang_cc1 -std=c++20 -emit-module-interface %s -o %t
5 export module M;
6 struct S;
7 export using T = S; // OK, exports name T denoting type S
9 // expected-no-diagnostics