9 integer, pointer :: p1
=> null(x
) ! { dg-error "NULL.. initialization at .1. may not have MOLD" }
10 integer, pointer :: p2
=> null(mold
=x
) ! { dg-error "NULL.. initialization at .1. may not have MOLD" }
11 class(*), pointer :: p3
=>null(x
) ! { dg-error "NULL.. initialization at .1. may not have MOLD" }
13 real, pointer :: a1
=> null(x
) ! { dg-error "NULL.. initialization at .1. may not have MOLD" }
14 real, pointer :: a2
=> null ( mold
= x
) ! { dg-error "NULL.. initialization at .1. may not have MOLD" }
15 class(*), pointer :: a3
=> null(mold
= x
) ! { dg-error "NULL.. initialization at .1. may not have MOLD" }