1 ! REQUIRES: openmp_runtime
3 ! RUN: %python %S/../test_errors.py %s %flang_fc1 %openmp_flags
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 parameter of the ALLOCATE clause must be a positive integer expression
14 !$omp allocators allocate(-1: a)
17 !ERROR: The parameter of the ALLOCATE clause must be a positive integer expression
18 !$omp allocators allocate(allocator(-2), align(-3): b)
21 !ERROR: The parameter of the ALLOCATE clause must be a positive integer expression
22 !$omp allocators allocate(align(-4): c)