Debian Codegraph @

gcc/testsuite/gfortran.dg/associate_50.f90

raw
1 ! { dg-do compile }
2 ! PR 92780 - this used to ICE instead of being rejected.
3 ! Test case by Gerhard Steinmetz.
4
5 program p
6 associate (y => p) ! { dg-error "Invalid association target" }
7 end associate ! { dg-error "Expecting END PROGRAM statement" }
8 end program p