view gcc/testsuite/gfortran.dg/pr93604.f90 @ 152:2b5abeee2509

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

! { dg-do compile }

program p
   type t
      integer :: a
   end type
   type(t) :: x
   data x /t(z'1')/ ! { dg-error "cannot appear in a structure constructor" }
end