Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/char_length_22.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 } ! { dg-options "-O -Wall" } ! PR 94091 - this used to give a bogus warning. ! Test case by "MikeS". program tester character(50) cname,fred fred='1234567890123456789012345678901234567890' ! 40 characters kk=len_trim(fred) cname=fred(5:kk) print *,kk,cname end program tester