view libgomp/testsuite/libgomp.c/pr26171.c @ 64:d9bee9007a48

Added tag gcc-4.6-20100522 for changeset b7f97abdc517
author ryoma <e075725@ie.u-ryukyu.ac.jp>
date Mon, 24 May 2010 12:48:09 +0900
parents a06113de4d67
children 04ced10e8804
line wrap: on
line source

/* PR c/26171 */
/* { dg-do run } */
/* { dg-options "-fopenmp" } */
/* { dg-require-effective-target tls_runtime } */

int thrv = 0;
#pragma omp threadprivate (thrv)

int
main ()
{
  thrv = 1;
  return 0;
}