2 ! Tests the fix for PR36700, in which the call to the function would
5 ! Contributed by <terry@chem.gu.se>
10 function InitialDiatomicX () result(v4
) ! { dg-error "has a type" }
11 real(kind
= 8), dimension(4) :: v4
13 end function InitialDiatomicX
14 subroutine FindDiatomicPeriod
15 call InitialDiatomicX () ! { dg-error "which is not consistent with the CALL" }
16 end subroutine FindDiatomicPeriod