…resent The OpenMP spec 4.5-5.1 defines ORDERED as standalone when a DEPEND clause is present (with either SOURCE or SINK as argument). The OpenMP spec 5.2+ defines ORDERED as standalone when a DOACROSS clause is present.
6 lines
143 B
Fortran
6 lines
143 B
Fortran
! RUN: not %flang_fc1 -fsyntax-only -fopenmp %s 2>&1 | FileCheck %s
|
|
|
|
!$omp parallel
|
|
! CHECK: error: Expected OpenMP END PARALLEL directive
|
|
end
|