summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/gomp/omp_threadprivate2.f90
blob: cd1ab5cd60a3fc248c78b3c568454e002c13573a (plain)
1
2
3
4
5
6
! { dg-do compile }
! { dg-require-effective-target tls }
      subroutine bad1
	double precision :: d	! { dg-error "isn't SAVEd" }
!$omp threadprivate (d)
      end subroutine bad1