hppa64: Fix fmt_f_default_field_width_3.f90 and fmt_g_default_field_width_3.f90
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr90985.f90
blob48f5023099e3482dcbd35f6a1333135c25822928
1 ! { dg-do compile }
2 module mymod
3 type :: mytyp
4 integer :: i
5 end type mytyp
6 contains
7 subroutine mysub
8 implicit none
9 type(mytyp) :: a
10 integer :: datai,dataj
11 datai = a%i
12 dataj = a%j ! { dg-error "is not a member of the" }
13 end subroutine mysub
14 end module mymod