view gcc/testsuite/gfortran.dg/used_types_25.f90 @ 120:f93fa5091070

fix conv1.c
author mir3636
date Thu, 08 Mar 2018 14:53:42 +0900
parents 04ced10e8804
children
line wrap: on
line source

! { dg-do compile }
!
! Created to check this ambiguity when
! constructors were added. Cf. PR fortran/39427

module m
  type t
  end type t
end module m

use m
 type t ! { dg-error "Derived type definition of 't' at .1. has already been defined" }
 end type t ! { dg-error "Expecting END PROGRAM statement" }
end