1/* Invalid initializations. */ 2/* { dg-require-effective-target tls } */ 3 4extern __thread int i; 5int *p = &i; /* { dg-error "initializer element is not constant" } */ 6