Retro68/gcc/libgomp/testsuite/libgomp.c/pr26171.c

15 lines
203 B
C
Raw Normal View History

2012-03-27 23:13:14 +00:00
/* PR c/26171 */
/* { dg-do run } */
2017-04-10 11:32:00 +00:00
/* { dg-options "-O0" } */
2012-03-27 23:13:14 +00:00
/* { dg-require-effective-target tls_runtime } */
int thrv = 0;
#pragma omp threadprivate (thrv)
int
main ()
{
thrv = 1;
return 0;
}