2 ! { dg-additional-options "-std=f95" }
5 ! The following used to generate a segmentation fault in the front-end,
6 ! because a pointer to the get1 symbol was remaining in the get interface
7 ! after the procedure statement was rejected and the symbol freed.
10 procedure get1
! { dg-error "Fortran 2003: PROCEDURE statement" }
14 call set1 (get (h
)) ! { dg-error "no specific function for the generic 'get'" }
17 integer, intent(in
) :: a
20 integer function get1 (s
)