Debian Codegraph @

gcc/testsuite/gfortran.dg/pr99060.f90

raw
1 ! { dg-do compile }
2 !
3 ! Test the fix for PR99060 in which the expression caused an ICE after the error.
4 !
5 ! Contributed by Gerhard Steinmetz <[email protected]>
6 !
7 program p
8 real :: a
9 print *, a%kind%n ! { dg-error "not an inquiry reference" }
10 end