Plugins: Add label-text.h to CPPLIB_H so it will be installed [PR115288]
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr102597.f90
blobc2d875f897ab0cc8be10fd7cfc4d035ed671b189
1 ! { dg-do compile }
2 ! Check that PR102597 does not resurface. Regression caused ICE at associate
3 ! statement.
4 ! Contributed by Gerhard Steinmetz <gscfq@t-online.de>
5 program p
6 use iso_fortran_env
7 associate (y => (compiler_version)) ! { dg-error "is a procedure name" }
8 end associate
9 end