1! { dg-do compile }
2! PR fortran/65173
3program p
4   type t
5      character, allocatable :: z1(:), z1(:)    ! { dg-error "already declared at" }
6   end type
7end
8