1 ! RUN: %python %S/test_errors.py %s %flang_fc1 -fopenmp
3 ! 2.11.3 allocate Directive
4 ! Only the allocator clause is allowed on the allocate directive
10 !$omp allocate(x) allocator(omp_default_mem_alloc)
12 !ERROR: PRIVATE clause is not allowed on the ALLOCATE directive
13 !$omp allocate(y) private(y)
14 end subroutine allocate