Sign in
llvm
/
llvm-project
/
41d59a36459ea99ada4819a26072366f77484f87
/
.
/
compiler-rt
/
test
/
profile
/
Inputs
/
instrprof-shared-main.c
blob: 60da3b42c63f6d033f32ebabddef724dc603f187 [
file
] [
log
] [
blame
]
extern
int
g1
,
g2
;
extern
void
foo
(
int
n
);
int
main
()
{
int
i
,
j
;
for
(
i
=
0
;
i
<
1000
;
i
++)
for
(
j
=
0
;
j
<
1000
;
j
++)
foo
(
i
*
j
);
if
(
g2
-
g1
==
280001
)
return
0
;
return
1
;
}