1 /* Invalid initializations. */
2 /* { dg-require-effective-target tls } */
5 __thread int *p = &i; /* { dg-error "initializer element is not constant" } */
8 __thread int j = f(); /* { dg-error "initializer element is not constant" } */
12 S(); /* { dg-error "expected specifier-qualifier-list before 'S'" } */
14 __thread S s; /* { dg-error "unknown type name" } */