⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 interface_1.f90

📁 linux下编程用 编译软件
💻 F90
字号:
! { dg-do compile }! This program would segfault without the patch for PR fortran/24005.module y  !  ! If private statement is removed, then we get a bunch of errors  !  private f  !  ! If we rename 'f' in module y to say 'g', then gfortran correctly  ! identifies ambiguous as being ambiguous.  !  interface ambiguous    module procedure f  end interface  contains    real function f(a)      real a      f = a    end functionend module ymodule z  use y  interface ambiguous    module procedure f    ! { dg-error "in generic interface" "" }  end interface  contains    real function f(a)      real a      f = a    end functionend module z

⌨️ 快捷键说明

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