aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gfortran.dg/bounds_check_16.f90
blob: 38a86306e93f8161b93343e2e8fd6288ac879c69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
! { dg-do compile }
! { dg-options "-fcheck=bounds" }
!
! PR fortran/50815
!
! Don't check the bounds of deferred-length strings.
! gfortran had an ICE before because it did.
!
SUBROUTINE TEST(VALUE)
    IMPLICIT NONE
    CHARACTER(LEN=:),    ALLOCATABLE    ::    VALUE
    CHARACTER(LEN=128)    ::    VAL
    VALUE = VAL
END SUBROUTINE TEST