impure_spec_expr_1.f90

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

F90
16
字号
! { dg-do compile }! Checks the fix for PR33664, in which the apparent function reference! n(1) caused a seg-fault.!! Contributed by Henrik Holst <holst@matmech.com>!module testcontains  subroutine func_1(u,n)    integer :: n    integer :: u(n(1))  ! { dg-error "must be PURE" }  end subroutineend module test! { dg-final { cleanup-modules "test" } }

⌨️ 快捷键说明

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