2015-11-30 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git] / libgomp / testsuite / libgomp.c / pr26171.c
blob322a0c756891b6d73374625df6dde222d2516f2a
1 /* PR c/26171 */
2 /* { dg-do run } */
3 /* { dg-options "-O0" } */
4 /* { dg-require-effective-target tls_runtime } */
6 int thrv = 0;
7 #pragma omp threadprivate (thrv)
9 int
10 main ()
12 thrv = 1;
13 return 0;