1 ! RUN: %python %S/test_errors.py %s %flang_fc1 -pedantic
2 ! Catch NULL() actual argument association with allocatable dummy argument
4 !ERROR: NULL() actual argument 'NULL()' may not be associated with allocatable dummy argument 'a=' without INTENT(IN)
6 !PORTABILITY: Allocatable dummy argument 'a=' is associated with NULL()
11 real, allocatable
:: a
14 real, allocatable
, intent(in
) :: a
17 real, allocatable
, optional
:: a