Sign in
cobalt
/
cobalt
/
25902c6cb1ab9cfd8ae2ee6b0fb52953f73deda5
/
.
/
third_party
/
llvm-project
/
compiler-rt
/
test
/
profile
/
Inputs
/
instrprof-comdat-1.cpp
blob: bd574ec3fb89ed1fb73800bc94ef69f9d5c63bd6 [
file
] [
log
] [
blame
]
#include
"instrprof-comdat.h"
int
g
;
extern
int
bar
(
int
);
int
main
()
{
FOO
<int>
Foo
;
int
Res
=
Foo
.
DoIt
(
10
);
if
(
Res
>
10
)
g
=
bar
(
10
);
else
g
=
bar
(
1
)
+
bar
(
2
);
return
0
;
}