📄 used_types_19.f90
字号:
! { 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -