Debian Codegraph @

gcc/testsuite/gfortran.dg/array_constructor_28.f03

raw
1 ! { dg-do compile }
2 ! { dg-options "-std=f2003" }
3
4 ! PR fortran/36492
5 ! Check that the error is still emitted for really incorrect constructor.
6
7 type t
8 character (2) :: arr (2) = [ "a", "ab" ] ! { dg-error "Different CHARACTER" }
9 end type t
10
11 end