summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/implicit_6.f90
blob: a74ecc29ba5e92d66203b732f555e36166b94248 (plain)
1
2
3
4
5
6
7
8
9
10
! { dg-do compile }
! { dg-options "-std=legacy" }
!
! PR 24643
! substring references on implicitly typed CHARACTER variables didn't work
        PROGRAM P
        IMPLICIT CHARACTER*8 (Y)
        YLOCAL='A'
        YBTABLE=YLOCAL(1:2)
        END