📄 procedure_lvalue.f90
字号:
! { dg-do compile }! Tests the fix for PR17911, where a USE associated l-value! would cause an ICE in gfc_conv_variable.! Test contributed by Tobias Schlueter <tobi@gcc.gnu.org>module t interface a module procedure b end interfacecontains integer function b(x) b = x end function bend module tsubroutine r use t b = 1. ! { dg-error "l-value since it is a procedure" } y = a(1.)end subroutine r
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -