func_result_2.f90

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

F90
11
字号
! { dg-do run }! Character functions with a result clause were brokenprogram testch  if (ch().ne."hello     ") call abort()contains  function ch () result(str)    character(len = 10)  :: str    str ="hello"  end function chend program testch

⌨️ 快捷键说明

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