reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
// CHECK:        -:    0:Source:{{.*}}Inputs{{[/\\]}}instrprof-shared-main.c
// CHECK-NEXT:        -:    0:Graph:instrprof-shared-main.gcno
// CHECK-NEXT:        -:    0:Data:instrprof-shared-main.gcda
// CHECK-NEXT:        -:    0:Runs:1
// CHECK-NEXT:        -:    0:Programs:1
// CHECK-NEXT:        -:    1:extern int g1, g2;
// CHECK-NEXT:        -:    2:extern void foo(int n);
// CHECK-NEXT:        -:    3:
// CHECK-NEXT:        1:    4:int main() {
// CHECK-NEXT:        -:    5:  int i, j;
// CHECK-NEXT:     1001:    6:  for (i = 0; i < 1000; i++)
// CHECK-NEXT:  1001000:    7:    for (j = 0; j < 1000; j++)
// CHECK-NEXT:  1001000:    8:      foo(i * j);
// CHECK-NEXT:        -:    9:
// CHECK-NEXT:        1:   10:  if (g2 - g1 == 280001)
// CHECK-NEXT:        1:   11:    return 0;
// CHECK-NEXT:    #####:   12:  return 1;
// CHECK-NEXT:        1:   13:}