imag_2.f
来自「linux下编程用 编译软件」· F 代码 · 共 16 行
F
16 行
! { dg-do compile }! { dg-options "-std=f95" } program bug implicit none complex(kind=8) z double precision x z = cmplx(1.e0_8, 2.e0_8) x = imag(z) ! { dg-error "has no IMPLICIT type" "" } x = imagpart(z) ! { dg-error "has no IMPLICIT type" "" } x = realpart(z) ! { dg-error "has no IMPLICIT type" "" } x = imag(x) ! { dg-error "has no IMPLICIT type" "" } x = imagpart(x) ! { dg-error "has no IMPLICIT type" "" } x = realpart(x) ! { dg-error "has no IMPLICIT type" "" } end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?