view gcc/testsuite/gfortran.dg/char_length_16.f90 @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900 (2020-02-13)
parents 04ced10e8804
children
line wrap: on
line source
! { dg-do compile }
!
! PR 40822: [4.5 Regression] Internal compiler error when Fortran intrinsic LEN referenced before explicit declaration
!
! Contributed by Mat Cross <mathewc@nag.co.uk>

SUBROUTINE SEARCH(ITEMVAL)
  CHARACTER (*) :: ITEMVAL
  CHARACTER (LEN(ITEMVAL)) :: ITEM
  INTRINSIC LEN
END