Sign in
cobalt
/
cobalt
/
6c3b32a7dc6eaf2946073e6fa29281b8cb58f1e3
/
.
/
src
/
third_party
/
llvm-project
/
compiler-rt
/
test
/
profile
/
Inputs
/
instrprof-icall-promo_2.cc
blob: 658ab0bf44d1260f8149191bf4d2a54ac39a2111 [
file
] [
log
] [
blame
]
#include
"instrprof-icall-promo.h"
extern
int
ref
(
A
*);
int
A
::
bar
()
{
return
2
;
}
extern
A
*
ap
;
int
test
()
{
for
(
int
i
=
0
;
i
<
10000
;
i
++)
ap
->
foo
();
return
ref
(
ap
);
}
int
main
()
{
test
();
return
0
;
}