gcc/testsuite/gcc.target/mips/mips-nonpic/main-6.c
raw| 1 | /* { 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" } */ |
| 2 | |
| 3 | #include "mips-nonpic.h" |
| 4 | |
| 5 | int |
| 6 | main () |
| 7 | { |
| 8 | pic_call (); |
| 9 | nonpic_call (); |
| 10 | |
| 11 | if (hit_pic_call != 1) |
| 12 | abort (); |
| 13 | |
| 14 | if (hit_nonpic_call != 1) |
| 15 | abort (); |
| 16 | |
| 17 | exit (0); |
| 18 | } |