1 ! RUN: %python %S/../test_errors.py %s %flang -fopenacc
3 ! Check OpenACC clause validity for the following construct and directive:
6 program openacc_atomic_validity
11 integer, parameter :: N
= 256
12 integer, dimension(N
) :: c
43 !ERROR: RHS of atomic update statement must be scalar
44 !ERROR: LHS of atomic update statement must be scalar
49 end program openacc_atomic_validity