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

#include "mips-nonpic.h"

main ()
{
  pic_call ();
  nonpic_addr_call ();

  if (hit_pic_call != 1)
    abort ();

  if (hit_nonpic_addr_call != 1)
    abort ();

  exit (0);
}