2 ! Check that PR20877 and PR25047 are fixed by the patch for
3 ! PR24558. Both modules would emit the error:
4 ! insert_bbt(): Duplicate key found!
5 ! because of the prior references to a module function entry.
7 ! Contributed by Joost VandeVondele <jv244@cam.ac.uk>
11 FUNCTION K(I
) RESULT(J
)
12 ENTRY J() ! { dg-error "conflicts with PROCEDURE attribute" }
15 integer function foo ()
16 character*4 bar
! { dg-error "type CHARACTER" }
25 ! { dg-final { cleanup-modules "TT" } }