1 ! RUN: %python %S/test_errors.py %s %flang_fc1
3 program test_unlock_stmt
5 use iso_fortran_env
, only
: lock_type
7 type(LOCK_TYPE
) :: locks(10)[*]
11 type(LOCK_TYPE
) :: non_coarray
!Invalid Declaration
13 !___ non-standard-conforming statements ___
17 !ERROR: Must be a scalar value, but is a rank-1 array
20 !Sync-stat-list.f90 contains invalid versions of sync-stat-list in unlock-stmt
22 end program test_unlock_stmt