Skip to content

Commit c2c2ecf

Browse files
Add requires openmp_runtime to test
1 parent 0b7c4db commit c2c2ecf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

flang/test/Semantics/OpenMP/atomic-compare.f90

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
! REQUIRES: openmp_runtime
12
! RUN: %python %S/../test_errors.py %s %flang_fc1 %openmp_flags -fopenmp-version=51
23
use omp_lib
34
implicit none
@@ -34,7 +35,7 @@
3435
if (b .eq. a) b = c
3536
!$omp end atomic
3637

37-
! Check for error conidtions:
38+
! Check for error conditions:
3839
!ERROR: More than one memory order clause not allowed on OpenMP Atomic construct
3940
!ERROR: At most one SEQ_CST clause can appear on the COMPARE directive
4041
!$omp atomic seq_cst seq_cst compare

0 commit comments

Comments
 (0)