aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/tls/pie-1.c
blob: 07eb5f1ad25c0fcf4ee1248e3a46acf8c6bf0923 (plain)
1
2
3
4
5
6
/* { dg-do compile } */
/* { dg-require-effective-target fpic } */
/* { dg-options "-fpie" } */
/* { dg-require-effective-target tls } */

__thread int a; int b; int main() { return a = b; }