aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gfortran.dg/derived_comp_array_ref_8.f90
blob: 739f4adfb789dac2460fb9ba74b94ff0d287d7c3 (plain)
1
2
3
4
5
6
7
8
! { dg-do compile }
!
! PR fortran/52325
!
real :: f
cc%a = 5 ! { dg-error "Symbol 'cc' at .1. has no IMPLICIT type" }
f%a = 5  ! { dg-error "Unexpected '%' for nonderived-type variable 'f' at" }
end