PR tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git] / gcc / testsuite / gfortran.dg / minmax_char_2.f90
blobb5f74eac93bc1e6360c04673c023521ce2f0c967
1 ! { dg-do compile }
2 ! { dg-options "-std=f95" }
3 print *, min("foo", "bar") ! { dg-error "Fortran 2003.* CHARACTER argument" }
4 end