📄 equiv_constraint_7.f90
字号:
! { 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -