1 ! REQUIRES: openmp_runtime
3 ! RUN: %python %S/../test_errors.py %s %flang_fc1 %openmp_flags -fopenmp-version=51
5 ! The allocate clause's allocator modifier must be of type allocator_handle
6 ! and the align modifier must be constant, positive integer expression
11 integer, allocatable
:: a
, b
, c
13 !ERROR: The alignment value should be a constant positive integer
14 !$omp allocators allocate(allocator(-2), align(-3): b)
17 !ERROR: The alignment value should be a constant positive integer
18 !$omp allocators allocate(align(-4): c)