repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
Modules
/
cxx20-10-2-ex3.cpp
blob
f9b515e869bf506110cf53fae6f08be732d74c1f
1
// Based on C++20 10.2 example 3.
2
3
// RUN: %clang_cc1 -std=c++20 -emit-module-interface %s -o %t
4
5
export module M
;
6
struct
S
;
7
export
using
T
=
S
;
// OK, exports name T denoting type S
8
9
// expected-no-diagnostics