Due to unavailability of Flang testing on Windows, the shell scripts are being ported to Python. The following changes are being made in this patch: removed test_symbols.sh and common.sh, and ported them to Python. Changes to the tests themselves so that they use the python scripts instead of the shell script. Reviewed By: Meinersbur, awarzynski, kiranchandramohan Differential Revision: https://reviews.llvm.org/D107041
20 lines
472 B
Fortran
20 lines
472 B
Fortran
! RUN: %python %S/test_symbols.py %s %flang_fc1 -fopenmp
|
|
! OpenMP Version 4.5
|
|
! 2.7.1 Loop Construct
|
|
! The loop iteration variable may not appear in a firstprivate directive.
|
|
! A positive case
|
|
|
|
!DEF: /omp_do MainProgram
|
|
program omp_do
|
|
!DEF: /omp_do/i ObjectEntity INTEGER(4)
|
|
integer i
|
|
|
|
!$omp do firstprivate(k)
|
|
!DEF: /omp_do/Block1/i (OmpPrivate, OmpPreDetermined) HostAssoc INTEGER(4)
|
|
do i=1,10
|
|
print *, "Hello"
|
|
end do
|
|
!$omp end do
|
|
|
|
end program omp_do
|