! C736 If EXTENDS appears and the type being defined has a coarray ultimate
! component, its parent type shall have a coarray ultimate component.
!
subroutines()
typecoarrayParent
real,allocatable,codimension[:]::parentField
endtypecoarrayParent
type,extends(coarrayParent)::goodChildType
real,allocatable,codimension[:]::childField
endtypegoodChildType
type,extends(coarrayParent)::brotherType
real::brotherField
endtypebrotherType
type,extends(brotherType)::grandChildType
real,allocatable,codimension[:]::grandChildField
endtypegrandChildType
typeplainParent
endtypeplainParent
!ERROR: Type 'badchildtype' has a coarray ultimate component so the type at the base of its type extension chain ('plainparent') must be a type that has a coarray ultimate component
type,extends(plainParent)::badChildType
real,allocatable,codimension[:]::childField
endtypebadChildType
type,extends(plainParent)::plainChild
real::realField
endtypeplainChild
!ERROR: Type 'badchildtype2' has a coarray ultimate component so the type at the base of its type extension chain ('plainparent') must be a type that has a coarray ultimate component
type,extends(plainChild)::badChildType2
real,allocatable,codimension[:]::childField
endtypebadChildType2
!ERROR: Type 'badchildtype3' has a coarray ultimate component so the type at the base of its type extension chain ('plainparent') must be a type that has a coarray ultimate component