bounds_check_fail_1.f90
来自「用于进行gcc测试」· F90 代码 · 共 8 行
F90
8 行
! { dg-do run }! { dg-options "-fbounds-check" }! { dg-shouldfail "foo" } integer x(1) x(2) = x(1) ! { dg-warning "out of bounds" } end! { dg-output "out of bounds for array 'x', upper bound of dimension 1 exceeded." }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?