1 ! RUN: %python %S/../test_errors.py %s %flang_fc1 -fopenmp
3 ! OpenMP Atomic construct
5 ! Intrinsic procedure name is one of MAX, MIN, IAND, IOR, or IEOR.
10 integer :: y
, z
, a
, b
, c
, d
26 !ERROR: Atomic update variable 'z' not found in the argument list of intrinsic procedure
29 !ERROR: Atomic update variable 'z' not found in the argument list of intrinsic procedure
32 !ERROR: Atomic update variable 'z' not found in the argument list of intrinsic procedure
35 !ERROR: Atomic update variable 'z' not found in the argument list of intrinsic procedure
38 !ERROR: Atomic update variable 'z' not found in the argument list of intrinsic procedure
42 !ERROR: Invalid intrinsic procedure name in OpenMP ATOMIC (UPDATE) statement
45 !ERROR: Invalid intrinsic procedure name in OpenMP ATOMIC (UPDATE) statement
59 !ERROR: Atomic update variable 'z' not found in the argument list of intrinsic procedure
62 !ERROR: Atomic update variable 'z' not found in the argument list of intrinsic procedure
65 !ERROR: Atomic update variable 'z' not found in the argument list of intrinsic procedure
68 !ERROR: Atomic update variable 'z' not found in the argument list of intrinsic procedure
71 !ERROR: Atomic update variable 'z' not found in the argument list of intrinsic procedure
75 !ERROR: Invalid intrinsic procedure name in OpenMP ATOMIC (UPDATE) statement
78 !ERROR: Invalid intrinsic procedure name in OpenMP ATOMIC (UPDATE) statement
82 subroutine conflicting_types()
91 !ERROR: Atomic update variable 'z' not found in the argument list of intrinsic procedure