2 ! Tests the fix for PR37274 comment 4 in which the use associated 'vector' was
\r
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
\r
15 interface lin_interp
\r
16 function lin_interp_v()
\r
18 type(vector) :: lin_interp_v
\r
19 end function lin_interp_v
\r
21 end module tools_math
\r
26 type(vector ) :: new_pos ! { dg-error "used before it is defined" }
\r
27 end module smooth_mesh
\r
29 ! { dg-final { cleanup-modules "class_vector tools_math smooth_mesh" } }