mirror of
https://github.com/autc04/Retro68.git
synced 2024-09-28 18:56:06 +00:00
16 lines
294 B
Fortran
16 lines
294 B
Fortran
! { dg-do compile }
|
|
!
|
|
! Test the fix for PR83866.f90
|
|
!
|
|
! Contributed by G Steinmetz <gscfq@t-online.de>
|
|
!
|
|
program p
|
|
type private
|
|
end type
|
|
type t
|
|
class(t), pointer :: a
|
|
end type
|
|
type extends(t) :: t2 ! { dg-error "Garbage after | does not have a component" }
|
|
end type
|
|
end
|