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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [size_dim.f90] - Blame information for rev 862

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

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do run }
2
! Check size with initialization expression value for dim=
3
! PR fortran/30882
4
!
5
! Contributed by Joost VandeVondele 
6
!
7
program main
8
  integer :: a(10)
9
  call S1(a)
10
contains
11
  subroutine S1(a)
12
    integer :: a(*)
13
    if(size(a(1:10),1) /= 10) call abort()
14
  end subroutine S1
15
end program main

powered by: WebSVN 2.1.0

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