use_allocated_1.f90

来自「Mac OS X 10.4.9 for x86 Source Code gcc」· F90 代码 · 共 19 行

F90
19
字号
! { dg-do run }! PR17678! We were incorrectly setting use-associated variables to unallocated! on procedure entry.module foo  integer, dimension(:), allocatable :: barend moduleprogram main  use foo  allocate (bar(10))  call initend program mainsubroutine init  use foo  if (.not.allocated(bar)) call abortend subroutine init

⌨️ 快捷键说明

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