diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/mips/mips-nonpic/main-1.c')
-rw-r--r-- | gcc/testsuite/gcc.target/mips/mips-nonpic/main-1.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/mips/mips-nonpic/main-1.c b/gcc/testsuite/gcc.target/mips/mips-nonpic/main-1.c new file mode 100644 index 000000000..2f428717a --- /dev/null +++ b/gcc/testsuite/gcc.target/mips/mips-nonpic/main-1.c @@ -0,0 +1,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); +} |