summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/assumed_charlen_dummy.f90
blob: 04f0b9faaded773405f1f5ec4a322e1673193dbd (plain)
1
2
3
4
5
6
7
8
9
10
! { dg-do compile }
! Test the fix for PR fortran/39893.
! Original testcase provided by Deji Akingunola.
! Reduced testcase provided by Dominique d'Humieres.
!
      SUBROUTINE XAUTOGET()
      CHARACTER*(*) DICBA    ! { dg-error "Entity with assumed character" }
      DATA DICBA /"CLIP" /
      RETURN
      END