OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* check.c (gfc_check_malloc, gfc_check_free): New functions.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gfortran.dg
/
malloc_free_1.f90
1
! 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*8 i8
6
7
do j = 1, 10000
8
i8 = malloc (10 * j)
9
call free (i8)
10
end do
11
end