OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pic-macro-define.c] - Blame information for rev 801

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do run { target "i?86-*-*-darwin" powerpc*-*-darwin* } } */
2
/* { dg-options "-fPIC" } */
3
 
4
#if defined __PIC__ 
5
int main() {
6
        return 0;
7
}
8
#else
9
  error "NO __PIC__ DEFINED"
10
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.