same_name_2.f90

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

F90
17
字号
! ( dg-do compile }! Tests the fix for PR27701, in which two same name procedures! were not diagnosed if they had no arguments.!! Contributed by Arjen Markus  <arjen.markus@wldelft.nl>!module ahacontainssubroutine aa ! { dg-error "Procedure" }   write(*,*) 'AA'end subroutine aasubroutine aa ! { dg-error "is already defined" }   write(*,*) 'BB'end subroutine aaend module! { dg-final { cleanup-modules "aha" } }

⌨️ 快捷键说明

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