OSDN Git Service

* g++.dg/lto/20091002-1_0.C: Use "dg-require-effective-target fpic".
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / lto / 20090210_0.c
1 /* { dg-lto-do run }  */
2 /* { dg-require-effective-target fpic } */
3 /* { dg-suppress-ld-options {-fPIC} }  */
4 /* { dg-require-effective-target tls } */
5 /* { dg-extra-ld-options "-pthread" { target *-*-solaris2.[89] } } */
6 int foo (int x)
7 {
8   return x;
9 }