gcc/testsuite/gfortran.dg/pr102597.f90
raw| 1 | ! { dg-do compile } |
| 2 | ! Check that PR102597 does not resurface. Regression caused ICE at associate |
| 3 | ! statement. |
| 4 | ! Contributed by Gerhard Steinmetz <[email protected]> |
| 5 | program p |
| 6 | use iso_fortran_env |
| 7 | associate (y => (compiler_version)) ! { dg-error "is a procedure name" } |
| 8 | end associate |
| 9 | end |