2 ! Checks the fix for PR30878, in which the inclusion
3 ! of an implicit function result variable in a namelist
4 ! would cause an error.
6 ! Contributed by Joost VandeVondele <jv244@cam.ac.uk>
8 character(80) :: buffer
9 if (f1 (buffer
) .ne
. 42) STOP 1
11 INTEGER FUNCTION F1 (buffer
)
14 character(80) :: buffer
16 write (buffer
, nml
= mynml
)
18 READ (buffer
, nml
= mynml
)