Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/pr46588.f90 @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 84e7813d76e9 |
children |
line wrap: on
line source
! { dg-do run } ! { dg-options "-std=gnu" } ! PR fortran/46588 ! Original code contributed by Oleh Steblev <oleh dot steblev at gmail dot com> ! ! Issue appears to be fixed by PR 67805/68108 function aufun(pm) character(len = *) pm character(len = *) aufun character(len = len(aufun)) temp temp = pm aufun = 'Oh' // trim(temp) end function aufun program ds implicit none character(len = 4) :: ins = ' no!' character(len = 20) st, aufun st = aufun(ins) if (trim(st) /= 'Oh no!') STOP 1 end