1 ! REQUIRES: openmp_runtime
3 ! RUN: %python %S/../test_errors.py %s %flang_fc1 %openmp_flags -fopenmp-version=50
5 ! Inherited from 2.11.3 allocate directive
6 ! The allocate directive must appear in the same scope as the declarations of
7 ! each of its list items and must follow all such declarations.
11 integer, allocatable
:: a
14 !ERROR: List items must be declared in the same scoping unit in which the ALLOCATORS directive appears
15 !$omp allocators allocate(omp_default_mem_alloc: a)