1 ! REQUIRES: openmp_runtime
3 ! RUN: %python %S/../test_errors.py %s %flang_fc1 %openmp_flags
5 ! 2.11.3 allocate Directive
6 ! Only the allocator clause is allowed on the allocate directive
12 !$omp allocate(x) allocator(omp_default_mem_alloc)
14 !ERROR: PRIVATE clause is not allowed on the ALLOCATE directive
15 !$omp allocate(y) private(y)
16 end subroutine allocate