mirror of
https://github.com/autc04/Retro68.git
synced 2024-09-28 18:56:06 +00:00
11 lines
390 B
Fortran
11 lines
390 B
Fortran
! { dg-do compile }
|
|
! PR fortran/69859
|
|
program p
|
|
type t
|
|
character(2), allocatable :: a(*) ! { dg-error "must have a deferred shape" }
|
|
character(*), allocatable :: b(2) ! { dg-error "must have a deferred shape" }
|
|
character(*), allocatable :: c(*) ! { dg-error "must have a deferred shape" }
|
|
end type
|
|
end
|
|
! { dg-excess-errors "needs to be a constant specification" }
|