llvm-project/flang/test/Semantics/OpenMP/omp-private-is-pointer-check.f90
PeixinQiao b826d551fc [NFC] Move flang OpenMP semantic tests under one single directory
To be consistent with OpenACC and will find the tests in one single
directory for OpenMP.

Reviewed By: kiranchandramohan

Differential Revision: https://reviews.llvm.org/D127529
2022-06-11 10:46:42 +08:00

11 lines
179 B
Fortran

! RUN: %flang_fc1 -fopenmp -fsyntax-only %s
subroutine s
integer, pointer :: p
integer, target :: t
!$omp parallel private(p)
p=>t
!$omp end parallel
end subroutine