continuation_1.f90
来自「用于进行gcc测试」· F90 代码 · 共 16 行
F90
16 行
! { dg-do run }! { dg-options -Wampersand }! PR 19101 Test line continuations and spaces. Note: the missing ampersand! before "world" is non standard default behavior. Use -std=f95, -std=f2003,! -pedantic, -Wall, or -Wampersand to catch this error! Submitted by Jerry DeLisle <jvdelisle@gcc.gnu.org>.program main character (len=40) & c c = "Hello, & world!" ! { dg-warning "Warning: Missing '&' in continued character constant" } if (c.ne.& "Hello, world!")& call abort();end program main
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?