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

Subversion Repositories openrisc

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

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

! { dg-do compile }
! PR 18568
! Find pointer-to-array components
module ints
   type :: bar
      integer, pointer :: th(:)
   end type bar
contains
   function foo(b)
      type(bar), intent(in) :: b
      integer :: foo(size(b%th))
      foo = 0
   end function foo
end module ints

program size_test
  use ints
end program size_test

! { dg-final { cleanup-modules "ints" } }

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.