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