2 ! Tests the fix for PR37274 comment 4 in which the use associated 'vector' was
3 ! passed up from the interface to the module 'tools_math'.
5 ! Contributed by Mikael Morin <mikael.morin@tele2.fr>
11 end module class_vector
16 function lin_interp_v()
18 type(vector
) :: lin_interp_v
19 end function lin_interp_v
26 type(vector
) :: new_pos
! { dg-error "used before it is defined" }
27 end module smooth_mesh
29 ! { dg-final { cleanup-modules "class_vector tools_math smooth_mesh" } }