RISC-V: Do not inline when callee is versioned but caller is not
[official-gcc.git] / gcc / testsuite / gcc.dg / pic-3.c
blobd3eb120652a595f6a439449864fc7d658a55a8ee
1 /* { dg-do compile { target { ! { *-*-darwin* hppa*64*-*-* mips*-*-linux-* amdgcn*-*-* } } } } */
2 /* { dg-options "-fno-pic" } */
4 #if defined(__CYGWIN__) || defined(__WIN32__)
5 # if __PIC__ != 1
6 # error __PIC__ is not 1!
7 # endif
8 #elif __PIC__
9 # error __PIC__ is defined!
10 #endif
12 #ifdef __PIE__
13 # error __PIE__ is defined!
14 #endif