aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-gc/pr11218-2.c
blob: 5f158026f83b570255edca143612fb201a10bbb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
extern void foo_in_so(void);
extern void unresolved_detected_at_runtime_not_at_linktime (void);

void call_unresolved(void)
{
   unresolved_detected_at_runtime_not_at_linktime();
}

int main(int argc, char *argv[])
{
   foo_in_so();

   return 0;
}