3 ! PR fortran/33117, PR fortran/46478
4 ! Procedures of a generic interface must be either
5 ! all SUBROUTINEs or all FUNCTIONs.
13 subroutine sub() ! { dg-error "all SUBROUTINEs or all FUNCTIONs" }
26 MODULE PROCEDURE func_name
27 MODULE PROCEDURE subr_name
30 LOGICAL FUNCTION func_name() ! { dg-error "all SUBROUTINEs or all FUNCTIONs" }
32 SUBROUTINE subr_name()