2 ! { dg-options "-fcheck=all" }
4 ! { dg-shouldfail "Pointer check" }
5 ! { dg-output "Fortran runtime error: Pointer actual argument 'y' is not associated" }
10 ! Was failing (ICE) with -fcheck=pointer if the dummy had the value attribute.
16 type(t
), pointer :: y
=> null()
18 call sub(y
) ! Invalid: Nonassociated pointer