2 ! { dg-options "-fmax-errors=1" }
4 ! Original code contributed by William Clodius.
8 module subroutine foo_da(da
, copy
) ! { dg-error "(1)" }
9 integer, intent(in
) :: da(:)
10 integer, allocatable
, intent(out
) :: copy(:)
16 subroutine foo_da(da
, copy
) ! { dg-error "defined in interface body|PROCEDURE attribute conflicts with PROCEDURE attribute" }
17 integer, intent(in
) :: da(:)
18 integer, allocatable
, intent(out
) :: copy(:)
19 allocate( copy( size(da
) ) )
24 ! { dg-prune-output "compilation terminated" }