gcc/libgomp/testsuite/libgomp.c/pr24455-1.c

7 lines
118 B
C

/* { dg-do compile } */
/* { dg-require-effective-target tls } */
extern int i;
#pragma omp threadprivate (i)
int i;