pointer_init_1.f90
来自「用于进行gcc测试」· F90 代码 · 共 16 行
F90
16 行
! Check that null initialization of pointer variable works.! { dg-do run }program pointer_init_1 type t real x end type type(t), pointer :: a => NULL() real, pointer :: b => NULL() character, pointer :: c => NULL() integer, pointer, dimension(:) :: d => NULL() if (associated(a)) call abort() if (associated(b)) call abort() if (associated(c)) call abort() if (associated(d)) call abort()end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?