blob: 0f9584a36dbfb2d63e9b3373a785b6b53dcdf7ce (
plain)
1
2
3
4
5
6
7
8
9
|
! { dg-do compile }
! PR fortran/70870
! Contributed by Vittorio Zecca <zeccav at gmail dot com >
type t
integer :: g=0 ! default initialization
end type
type(t) :: v2
data v2/t(2)/ ! { dg-error "default initialization shall not" }
end
|