4 ! Contributed by Tobias Burnus <burnus@gcc.gnu.org>
\r
9 subroutine user_function( inoutvec )
\r
10 class(*), dimension(:), intent(inout) :: inoutvec
\r
11 end subroutine user_function
\r
19 subroutine my_function( invec ) ! { dg-error "no IMPLICIT type" }
\r
20 class(*), dimension(:), intent(inout) :: inoutvec ! { dg-error "not a DUMMY" }
\r
22 select type (inoutvec)
\r
24 inoutvec = 2*inoutvec
\r
26 end subroutine my_function
\r
33 subroutine my_function( inoutvec ) ! Used to produce a BOGUS ERROR
\r
34 class(*), dimension(:), intent(inout) :: inoutvec
\r
36 select type (inoutvec)
\r
38 inoutvec = 2*inoutvec
\r
40 end subroutine my_function
\r