Debian Codegraph @

gcc/testsuite/gfortran.dg/derived_comp_array_ref_8.f90

raw
1 ! { dg-do compile }
2 !
3 ! PR fortran/52325
4 !
5 implicit none
6 real :: f
7 cc%a = 5 ! { dg-error "Symbol 'cc' at .1. has no IMPLICIT type" }
8 f%a = 5 ! { dg-error "Unexpected '%' for nonderived-type variable 'f' at" }
9 end