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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 149 jeremybenn
! Test for the MALLOC and FREE intrinsics
2
! If something is wrong with them, this test might segfault
3
! { dg-do run }
4
  integer j
5
  integer(kind=8) i8
6
 
7
  do j = 1, 10000
8
    i8 = malloc (10 * j)
9
    call free (i8)
10
  end do
11
  end

powered by: WebSVN 2.1.0

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