File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
flang/test/Semantics/OpenMP Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 330330 ! $omp parallel
331331 b = 1
332332 ! ERROR: LASTPRIVATE clause is not allowed on the SINGLE directive
333+ ! ERROR: NOWAIT clause must not be used with COPYPRIVATE clause on the SINGLE directive
333334 ! $omp single private(a) lastprivate(c) nowait
334335 a = 3.14
335336 ! ERROR: Clause NOWAIT is not allowed if clause COPYPRIVATE appears on the END SINGLE directive
336337 ! ERROR: COPYPRIVATE variable 'a' may not appear on a PRIVATE or FIRSTPRIVATE clause on a SINGLE construct
338+ ! ERROR: At most one NOWAIT clause can appear on the SINGLE directive
339+ ! ERROR: At most one NOWAIT clause can appear on the SINGLE directive
337340 ! ERROR: At most one NOWAIT clause can appear on the END SINGLE directive
338341 ! $omp end single copyprivate(a) nowait nowait
339342 c = 2
You can’t perform that action at this time.
0 commit comments