brintos

brintos / llvm-project-archived public Read only

0
0
Text · 441 B · 2b3b510 Raw
17 lines · plain
1!RUN: %python %S/../test_errors.py %s %flang_fc1 %openmp_flags -fopenmp-version=512 3subroutine f004  integer, allocatable :: x5  continue6  !ERROR: An executable ALLOCATE directive must be associated with an ALLOCATE statement7  !$omp allocate(x)8end9 10subroutine f0111  integer, allocatable :: x12  continue13  !$omp allocate(x)14  !ERROR: The statement associated with executable ALLOCATE directive must be an ALLOCATE statement15  continue16end17