aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/pr18900a.c
blob: fa2fc06c935812271c83d96bc89d0ea7b4b29414 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <stdio.h>

void
foo (void)
{
  printf ("OK\n");
}

void *
bar (void)
{
  foo ();
  return &foo;
}