malloc_free_1.f90

来自「用于进行gcc测试」· F90 代码 · 共 12 行

F90
12
字号
! Test for the MALLOC and FREE intrinsics! If something is wrong with them, this test might segfault! { dg-do run }  integer j  integer(kind=8) i8  do j = 1, 10000    i8 = malloc (10 * j)    call free (i8)  end do  end

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?