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

#include "mips-nonpic.h"

main ()
{
  nonpic_addr_call ();
  pic_nothing ();

  if (hit_nonpic_addr_call != 1)
    abort ();

  if (hit_pic_nothing != 1)
    abort ();

  exit (0);
}