Debian Codegraph @

gcc/testsuite/gfortran.dg/pr86110.f90

raw
1 ! { dg-do compile }
2 ! PR fortran/86110
3 program p
4 character(:), allocatable :: x, y
5 x = 'abc'
6 y = [x(:)] ! { dg-error "Incompatible ranks 0 and 1" }
7 end