00001 /* PR c/26171 */ 00002 /* { dg-do run } */ 00003 /* { dg-options "-fopenmp" } */ 00004 /* { dg-require-effective-target tls_runtime } */ 00005 00006 int thrv = 0; 00007 #pragma omp threadprivate (thrv) 00008 00009 int 00010 main () 00011 { 00012 thrv = 1; 00013 return 0; 00014 }