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
/
CXX
/
expr
/
p8.cpp
blob
471d1c5a30206a33a984965559c46e4d5fea5c50
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
// expected-no-diagnostics
3
4
int
a0
;
5
const
volatile
int
a1
=
2
;
6
int
a2
[
16
];
7
int
a3
();
8
9
void
f0
(
int
);
10
void
f1
(
int
*);
11
void
f2
(
int
(*)());
12
13
int
main
()
14
{
15
f0
(
a0
);
16
f0
(
a1
);
17
f1
(
a2
);
18
f2
(
a3
);
19
}