OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [empty_type.f90] - Rev 749

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.