1 ! REQUIRES: openmp_runtime
3 ! RUN: %python %S/../test_errors.py %s %flang_fc1 %openmp_flags
4 ! Check OpenMP Allocate directive
7 ! 2.11.3 declarative allocate
8 ! 2.11.3 executable allocate
11 integer, allocatable
:: a
, b
, m
, n
, t
, z
13 !$omp allocate(x, y) allocator(omp_default_mem_alloc)
18 !$omp allocate(a, b) allocator(omp_default_mem_alloc)
21 !$omp allocate(t) allocator(omp_const_mem_alloc)
22 !$omp allocate(z) allocator(omp_default_mem_alloc)
23 !$omp allocate(m) allocator(omp_default_mem_alloc)
25 allocate ( t
, z
, m
, n
)