3 ! PR 42418: PROCEDURE: Rejects interface which is both specific and generic procedure
5 ! Contributed by Tobias Burnus <burnus@gcc.gnu.org>
12 procedure(gen2
) :: p2
! { dg-error "may not be generic" }
13 procedure(sf
) :: p3
! { dg-error "may not be a statement function" }
20 sf(x
) = x
**2 ! { dg-warning "Obsolescent feature" }