Debian Codegraph @

gcc/testsuite/gfortran.dg/pr70870_1.f90

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