blob: 53a1a808a7b5206aa56d54f2b4b866a5be772ca1 [file] [log] [blame]
! { dg-do compile }
! PR fortran/91660
! Code contributed by Gerhard Steinmetz
program p
type t
end type
type (t x ! { dg-error "Malformed type-spec" }
x = t() ! { dg-error "Cannot convert" }
end