Fortran: fix ALLOCATE with SOURCE of deferred character length [PR114019]
[official-gcc.git] / gcc / testsuite / gfortran.dg / derived_comp_array_ref_8.f90
blob22dfdc668a66af3bf9e2309c485e50fa216cec01
1 ! { dg-do compile }
3 ! PR fortran/52325
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