! RUN: %python %S/../test_errors.py %s %flang_fc1 -fopenmp! Check Threadprivate Directive with local variable of a BLOCK construct.program main
callsub1()print*,'pass'end program main
subroutinesub1()
BLOCK
integer,save:: a
!$omp threadprivate(a)END BLOCK
end subroutine