OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gfortran.dg/] [namelist_32.f90] - Blame information for rev 437

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

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do compile }
2
! One of two tests for the fix of PR23152 - An ICE would
3
! ensue from assumed shape arrays in namelists.
4
!
5
! Conributed by Paul Thomas  
6
!
7
program assumed_size_nml
8
  real, dimension (10) :: z
9
  z = 42.0
10
  call foo (z)
11
contains
12
  subroutine foo (y)
13
    real, DIMENSION (*) :: y
14
    namelist /mynml/ y     ! { dg-error "is not allowed" }
15
    write (6, mynml)
16
  end subroutine foo
17
end program assumed_size_nml

powered by: WebSVN 2.1.0

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