aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/mips/mips-nonpic/main-13.c
blob: 1981ed1970b8014e023237d4f350f7487b80f834 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* { dg-options "pic-addr-call.o nonpic-receive-fn-addr.o nonpic-nothing.o" } */

#include "mips-nonpic.h"

int
main ()
{
  nonpic_nothing ();
  pic_addr_call ();

  if (hit_nonpic_nothing != 1)
    abort ();

  if (hit_pic_addr_call != 1)
    abort ();

  exit (0);
}