Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/pic-2.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children | 1830386684a0 |
line wrap: on
line source
/* { dg-do compile } */ /* { dg-require-effective-target fpic } */ /* { dg-options "-fPIC" } */ /* { dg-skip-if "__PIC__ is always 1 for MIPS" { mips*-*-* } } */ #if __PIC__ != 2 # error __PIC__ is not 2! #endif #ifdef __PIE__ # error __PIE__ is defined! #endif