aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elfweak/main1.c
blob: 39f819eb930df14b2aa52134b8d8639a64b688ea (plain)
1
2
3
4
5
6
7
8
9
10
11
#pragma weak deallocate_foo
int deallocate_foo = 1;

extern void foobar ();

int
main ()
{
  foobar ();
  return 0;
}