pr26246_1.f90
来自「用于进行gcc测试」· F90 代码 · 共 20 行
F90
20 行
! PR fortran/26246! { dg-options "-fdump-tree-original" }! { dg-do compile }module pr26246_1 implicit none contains function foo(string) character(*), intent(in) :: string character(len=len(string)+2) :: foo if (index(trim(string), '"').ne.0) then foo = "'" // trim(string) // "'" end if end function fooend module pr26246_1! { dg-final { scan-tree-dump-times "static int" 0 "original" } }! { dg-final { cleanup-tree-dump "original" } }! { dg-final { cleanup-modules "pr26246_1" } }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?