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
/
2007-06-05-NoInlineAttribute.c
blob
26aad88e814687edd24ca79f0d0b26f279d23c42
1
// RUN: %clang_cc1 -O2 -emit-llvm %s -o - | grep call
2
3
static int
bar
(
int
x
,
int
y
)
__attribute__
((
noinline
));
4
5
static int
bar
(
int
x
,
int
y
)
6
{
7
return
x
+
y
;
8
}
9
10
int
foo
(
int
a
,
int
b
) {
11
return
bar
(
b
,
a
);
12
}
13