binding_label_tests_12.f03

来自「用于进行gcc测试」· F03 代码 · 共 25 行

F03
25
字号
! { dg-do run }! This verifies that the compiler will correctly accpet the name="", write out! an empty string for the binding label to the module file, and then read it! back in.  Also, during gfc_verify_binding_labels, the name="" will prevent! any verification (since there is no label to verify).module onecontains  subroutine foo() bind(c)  end subroutine fooend module onemodule twocontains  ! This procedure is only used accessed in C  ! as procedural pointer  subroutine foo() bind(c, name="")  end subroutine fooend module twouse one, only: foo_one => foouse two, only: foo_two => fooend! { dg-final { cleanup-modules "one two" } }

⌨️ 快捷键说明

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