1/* { dg-do compile } */ 2/* { dg-require-effective-target tls } */ 3extern int i; 4#pragma omp threadprivate (i) 5 6int i; 7