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
/
CodeGen
/
2004-07-06-FunctionCast.c
blob
32931e2fce7156c023f2b5a7bd71a901ffcd5526
1
// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
2
3
static int
unused_func
(
void
) {
4
return
1
;
5
}
6
7
int
foo
(
void
) {
8
(
void
)
unused_func
;
/* avoid compiler warning */
9
return
2
;
10
}