3 ! Tests correction to implementation of pointer function assignments.
5 ! Contributed by Mikael Morin <mikael.morin@sfr.fr>
8 integer, target :: a(3) = 2
13 func (b(2, 2)) = b ! { dg-error "Different ranks" }
14 func (c) = b ! { dg-error "Different ranks" }
17 function func(arg) result(r)
18 integer, pointer :: r(:)