1 ! RUN: %python %S/test_errors.py %s %flang_fc1
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='
6 !ERROR: Null actual argument 'NULL()' may not be associated with allocatable dummy argument 'a='
7 call foo2(null()) ! perhaps permissible later on user request
11 real, allocatable
:: a
14 real, allocatable
, intent(in
) :: a
17 real, allocatable
, optional
:: a