re PR fortran/78741 (ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1534)
[official-gcc.git] / gcc / testsuite / gfortran.dg / char_allocation_1.f90
blobe0aefcf7845ae717a52725b8e7b03a18a8ce80c5
1 ! PR fortran/31974
2 ! { dg-do run }
3 subroutine foo (n)
4 integer :: n
5 character (len = n) :: v(n)
6 v = ''
7 if (any (v /= '')) STOP 1
8 end subroutine foo
10 call foo(7)
11 end