1 ! RUN: %python %S/test_errors.py %s %flang_fc1
2 ! Check for type errors in DEALLOCATE statements
4 INTEGER, PARAMETER :: maxvalue
=1024
13 Type(t
),Allocatable
:: x
20 Procedure(Real) :: prp
24 !ERROR: Must have CHARACTER type, but is INTEGER(4)
25 Deallocate(x
, stat
=s
, errmsg
=e
)
27 !ERROR: Must have INTEGER type, but is REAL(4)
28 !ERROR: Must have CHARACTER type, but is INTEGER(4)
29 Deallocate(x
, stat
=r
, errmsg
=e
)