PR tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr65453.f90
blob8d30116b79d02402a342c29a56f6210bf1868af9
1 ! { dg-do compile }
2 ! PR fortran/65453
3 ! Contributed by Tobias Burnus <burnus at gcc.gnu.org>
4 procedure() :: foo ! { dg-error "(1)" }
5 contains
6 subroutine foo() ! { dg-error "clashes with procedure" }
7 end
8 end