OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [empty_type.f90] - Rev 325

Go to most recent revision | Compare with Previous | Blame | View Log

! { dg-do compile }
! PR fortran/34202
! ICE on contruction of empty types
! Testcase contributed by Tobias Burnus

program bug4a
  implicit none
  type bug4
    ! Intentionally left empty
  end type bug4

  type compound
    type(bug4) b
  end type compound

  type(bug4), parameter :: f = bug4()
  type(compound), parameter :: g = compound(bug4())
end program bug4a

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.