view gcc/testsuite/gfortran.dg/array_constructor_25.f03 @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents 04ced10e8804
children
line wrap: on
line source

! { dg-do compile }
! { dg-options "-std=f2003" }

! PR fortran/36492
! Check for incorrect error message with -std=f2003.
! Reduced test based on the one from comment #4, PR 36492.

type t
  character (2) :: arr (1) = [ "a" ]
end type t

end