! { dg-do compile }! Fallout from the patch for PR 14771! Testcase by Erik Zeekprogram test
callbob(5)containssubroutinebob(n)integer,intent(in) :: n
character(len=n) :: temp1
character(len=(n)) :: temp2 ! Fails hereend subroutine bob
end program test