summaryrefslogtreecommitdiff
path: root/gcc/testsuite/objc.dg/tls/init-1.m
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" } */