summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tls/init-1.c
blob: fa4208dce0c1cac31e44f54446e70bfb5ef69678 (plain)
1
2
3
4
5
/* Invalid initializations.  */
/* { dg-require-effective-target tls } */

extern __thread int i;
int *p = &i;	/* { dg-error "initializer element is not constant" } */