]> git.proxmox.com Git - rustc.git/blob - src/compiler-rt/test/profile/Inputs/instrprof-shared-main.c
New upstream version 1.19.0+dfsg3
[rustc.git] / src / compiler-rt / test / profile / Inputs / instrprof-shared-main.c
1 extern int g1, g2;
2 extern void foo(int n);
3
4 int main() {
5 int i, j;
6 for (i = 0; i < 1000; i++)
7 for (j = 0; j < 1000; j++)
8 foo(i * j);
9
10 if (g2 - g1 == 280001)
11 return 0;
12 return 1;
13 }