3 ! PR 50073: gfortran must not accept function name when result name is present
5 ! Contributed by Vittorio Zecca <zeccav@gmail.com>
7 function fun() result(f
)
8 pointer fun
! { dg-error "not allowed" }
9 dimension fun(1) ! { dg-error "not allowed" }