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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [execute/] [der_init_4.f90] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 303 jeremybenn
! PR13930
2
! We were trying to assign a default initializer to dummy variables.
3
program der_init_4
4
  type t
5
    integer :: i = 42
6
  end type
7
 
8
  call foo(t(5))
9
contains
10
subroutine foo(a)
11
  type (t), intent(in) :: a
12
 
13
  if (a%i .ne. 5) call abort
14
end subroutine
15
end program

powered by: WebSVN 2.1.0

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