PR ipa/83051
[official-gcc.git] / gcc / testsuite / gfortran.dg / bounds_check_16.f90
blob38a86306e93f8161b93343e2e8fd6288ac879c69
1 ! { dg-do compile }
2 ! { dg-options "-fcheck=bounds" }
4 ! PR fortran/50815
6 ! Don't check the bounds of deferred-length strings.
7 ! gfortran had an ICE before because it did.
9 SUBROUTINE TEST(VALUE)
10 IMPLICIT NONE
11 CHARACTER(LEN=:), ALLOCATABLE :: VALUE
12 CHARACTER(LEN=128) :: VAL
13 VALUE = VAL
14 END SUBROUTINE TEST