used_types_19.f90

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

F90
27
字号
! { dg-do compile }! Tests the fix for PR34335 a regression in which the PRIVATE attribute! of type(a) in module b would be ignored and would prevent it being! loaded in the main program.!! Contributed by Janus Weil <jaydub66@gmail.com>!module A  type A_type    real comp  end typeend module Amodule B  use A  private  type(A_type) :: B_var  public:: B_varend module Bprogram C  use B  use A  type(A_type):: A_varend program C! { dg-final { cleanup-modules "a b" } }

⌨️ 快捷键说明

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