aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-plugin/pr26163b.c
blob: 5524b4e3d9767a52fe70f3d3bede2e41dbf689b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <stdio.h>

int counter;
extern void f(void);

void
real_g(void)
{
  counter++;
}

int main()
{
  real_g();
  f();
  if (counter == 3)
    printf ("PASS\n");
  return 0;
}