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

#include "mips-nonpic.h"

int
main ()
{
  pic_call ();
  nonpic_call ();

  if (hit_pic_call != 1)
    abort ();

  if (hit_nonpic_call != 1)
    abort ();

  exit (0);
}