Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/structure_constructor_15.f90 @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 84e7813d76e9 |
children |
line wrap: on
line source
! { dg-do compile } ! PR 85083 ! ! Testcase from PR by G. Steinmetz <gscfq@t-online.de> ! program p type t character(3) :: c end type t type(t), allocatable :: z allocate (z, source=t(.true.,'abc')) ! { dg-error "Too many components" } end