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

#include "mips-nonpic.h"

main ()
{
  nonpic_nothing ();
  pic_nothing ();

  if (hit_nonpic_nothing != 1)
    abort ();

  if (hit_pic_nothing != 1)
    abort ();

  exit (0);
}