init-1.c   [plain text]


/* Invalid initializations.  */
/* { dg-require-effective-target tls } */

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