derived_constructor_comps_3.f90

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

F90
23
字号
! { dg-compile }! ! gfortran was ICEing for the constructor of! componentfree types.!! Contributed by James Van Buskirk! http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/c8dd08d6da052499/! module bug4_mod   implicit none   type bug4 ! no components   end type bug4end module bug4_modprogram bug4_structure   use bug4_mod   implicit none   type(bug4) t   t = bug4()   write(*,*) tend program bug4_structure! { dg-final { cleanup-modules "bug4_mod" } }

⌨️ 快捷键说明

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