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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [execute/] [der_init_3.f90] - Blame information for rev 801

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

Line No. Rev Author Line
1 695 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.