write_fmt_trim.f90
来自「用于进行gcc测试」· F90 代码 · 共 11 行
F90
11 行
! { dg-do run }! PR30200 write(*,myfmt="(1X,a,'xyz')") "A" prints Az' instead of Axyz! Test case from PR, submitted by <jvdelisle@gcc.gnu.org>program main character (len=20) format format = "(1X,a,'xyz')" write(*,fmt=trim(format)) "A" ! Problem arose when trim was included hereend! { dg-output " Axyz" }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?