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

#include "mips-nonpic.h"

main ()
{
  nonpic_nothing ();
  pic_call ();

  if (hit_nonpic_nothing != 2)
    abort ();

  if (hit_pic_call != 1)
    abort ();

  exit (0);
}