use_10.f90
来自「用于进行gcc测试」· F90 代码 · 共 30 行
F90
30 行
! { dg-do run }module a implicit noneinterface operator(.op.) module procedure subend interfaceinterface operator(.ops.) module procedure sub2end interfacecontains function sub(i) integer :: sub integer,intent(in) :: i sub = -i end function sub function sub2(i) integer :: sub2 integer,intent(in) :: i sub2 = i end function sub2end module aprogram testuse a, only: operator(.op.), operator(.op.), &operator(.my.)=>operator(.op.),operator(.ops.)=>operator(.op.)implicit noneif (.my.2 /= -2 .or. .op.3 /= -3 .or. .ops.7 /= -7) call abort()end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?