omp_threadprivate2.f90   [plain text]


! { dg-do compile }
! { dg-require-effective-target tls }
      subroutine bad1
	double precision :: d	! { dg-error "isn't SAVEd" }
!$omp threadprivate (d)
      end subroutine bad1