aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elfvers/vers26b.c
blob: c724c32d6e258ec1ac7906df87fba403d7aa5702 (plain)
1
2
3
4
5
6
7
8
9
10
#pragma weak foo 

void foo ();

void
ref ()
{
  if (foo)
    foo ();
}