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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [execute/] [pr23373-1.f90] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
program main
2
  implicit none
3
  real, dimension (:), pointer :: x
4
  x => null ()
5
  x => test (x)
6
  if (.not. associated (x)) call abort
7
  if (size (x) .ne. 10) call abort
8
contains
9
  function test (p)
10
    real, dimension (:), pointer :: p, test
11
    if (associated (p)) call abort
12
    allocate (test (10))
13
    if (associated (p)) call abort
14
  end function test
15
end program main

powered by: WebSVN 2.1.0

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