blob: ba50c194c55f3588713f0beb03500a0a0a456dd0 [file] [log] [blame]
subroutine test1
type t
sequence
character(8) c
end type t
type(t) :: tc, td
equivalence (tc, td)
tc%c='abcdefgh'
if (tc%c.ne.'abcdefgh'.or.td%c(1:1).ne.'a') STOP 1
end subroutine test1
program main
call test1
end program main