2 ! Some errors for derived type extension.
4 ! Contributed by Paul Thomas <pault@gcc.gnu.org>
14 integer(c_int) :: yr, mon
20 type, extends(date) :: datetime ! { dg-error "because it is a SEQUENCE type" }
21 end type ! { dg-error "Expecting END PROGRAM" }
23 type, extends(dt) :: dt_type ! { dg-error "because it is BIND" }
24 end type ! { dg-error "Expecting END PROGRAM" }