equiv_constraint_7.f90

来自「linux下编程用 编译软件」· F90 代码 · 共 12 行

F90
12
字号
! { dg-do compile }! { dg-options "-O0" }! PR20890 - Equivalence cannot contain more than one initialized variables.! Contributed by Joost VandeVondele <jv244@cam.ac.uk>! Started out being in BLOCK DATA; however, blockdata variables must be in! COMMON and therefore cannot have F95 style initializers.... MODULE DATA  INTEGER :: I=1,J=2  EQUIVALENCE(I,J)  ! { dg-error "cannot both be in the EQUIVALENCE" } END MODULE DATA END

⌨️ 快捷键说明

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