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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [automatic_module_variable.f90] - Blame information for rev 823

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

Line No. Rev Author Line
1 149 jeremybenn
! { dg-do compile }
2
! Tests fix for PR15976
3
!
4
module sd
5
  integer, parameter :: n = 20
6
  integer :: i(n)
7
  integer :: j(m) ! { dg-error "must have constant shape" }
8
  integer, pointer :: p(:)
9
  integer, allocatable :: q(:)
10
contains
11
  function init (x, l)
12
    integer :: x(l)
13
    integer :: init(l)
14
    init = x
15
  end function init
16
end module sd
17
 
18
! { dg-final { cleanup-modules "sd" } }

powered by: WebSVN 2.1.0

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