blob: 26dbc53e5f8051ec4d5f08b86e048af4059778d0 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-require-effective-target tls_native } */
extern char buf[];
#pragma omp threadprivate (buf) /* { dg-error "has incomplete type" } */
void
foo (void)
{
int i;
#pragma omp threadprivate (i) /* { dg-error "automatic variable" } */
i = 0;
}