pr23373-1.f90

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

F90
16
字号
program main  implicit none  real, dimension (:), pointer :: x  x => null ()  x => test (x)  if (.not. associated (x)) call abort  if (size (x) .ne. 10) call abortcontains  function test (p)    real, dimension (:), pointer :: p, test    if (associated (p)) call abort    allocate (test (10))    if (associated (p)) call abort  end function testend program main

⌨️ 快捷键说明

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