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
/
static-func-in-private.cppm
blob
d7ce663f16d525b5055ddd7ecd05d1467fe8f25a
1
// RUN: %clang_cc1 -std=c++20 %s -verify -fsyntax-only
2
// expected-no-diagnostics
3
export module a;
4
module :private;
5
static void f() {}
6
void g() {
7
f();
8
}