aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr14323-1.c
blob: 9f63f4ce954adece4208b2dc785e6fe0fb968294 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <stdlib.h>
#include <stdio.h>

extern int foo_alias;
extern char *bar ();

int
main ()
{
  if (foo_alias != 0)
    abort ();
  bar ();
  if (foo_alias != -1)
    abort ();
  printf ("PASS\n");
  return 0;
}