PR tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git] / gcc / testsuite / gfortran.dg / malloc_free_1.f90
blob723236f8fed3845e5e2732bfbba7dc4bfba456b6
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(kind=8) i8
7 do j = 1, 10000
8 i8 = malloc (10 * j)
9 call free (i8)
10 end do
11 end