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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [execute/] [der_init_3.f90] - Blame information for rev 303

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 303 jeremybenn
! PR15365
2
! Default initializers were being missed
3
program main
4
  type xyz
5
     integer :: x = 123
6
  end type xyz
7
 
8
  type (xyz) :: a  !! ok
9
  type (xyz) b    !!! not initialized !!!
10
  if (a%x.ne.123) call abort
11
  if (b%x.ne.123) call abort
12
end

powered by: WebSVN 2.1.0

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