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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [initialization_7.f90] - Blame information for rev 708

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

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
!
3
! PR fortran/31253 -- ICE on invlid initialization expression
4
! Contributed by: Mikael Morin 
5
!
6
 
7
subroutine probleme(p)
8
  real(kind=8), dimension(:) :: p
9
  integer :: nx = size(p, 1)          ! { dg-error "Deferred array" }
10
  integer :: nix
11
 
12
  nix = nx
13
end subroutine

powered by: WebSVN 2.1.0

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