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
/
Coverage
/
ast-print-func.cpp
blob
46083a75de4269f3eabffb340be1ee4966ac5e9c
1
// RUN: %clang_cc1 -ast-print -std=c++14 %s -o %t.1.cpp
2
// RUN: %clang_cc1 -ast-print -std=c++14 %t.1.cpp -o %t.2.cpp
3
// RUN: diff %t.1.cpp %t.2.cpp
4
5
auto
func_01
(
int
,
char
) ->
double
;
6
7
auto
func_02
(
int
x
) ->
int
{
return
2
+
x
; }
8
9
void
func_03
() {
10
extern
void
g
(),
h
();
11
return
;
12
}