1! { dg-do compile }
2! PR 22273: Allow INTENT(OUT) dummy:s as arguments to LEN() in specification
3! expr:s
4subroutine lecligne (ligne)
5    character(len=*), intent(out) :: ligne
6    character(len=len(ligne)) :: comment
7end subroutine lecligne
8