pr16861.f90

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

F90
35
字号
! PR fortran/16861! { dg-do run }module foo  integer :: iend module foomodule barcontains  subroutine baz(j)    use foo    integer, dimension(i) :: j    integer :: n    do n = 1, i      if (j(n) /= n**2) call abort    end do  end subroutine bazend module barsubroutine quus()  use foo  use bar  i = 2  call baz ((/1,4/))  i = 7  call baz ((/1,4,9,16,25,36,49/))end subroutine quusprogram test  call quusend program test! { dg-final { cleanup-modules "foo bar" } }

⌨️ 快捷键说明

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