Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/equiv_constraint_3.f90 @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do compile } ! PR20900 - USE associated variables cannot be equivalenced. ! Contributed by Joost VandeVondele <jv244@cam.ac.uk> MODULE TEST INTEGER :: I END MODULE ! note 11.7 USE TEST, ONLY : K=>I INTEGER :: L EQUIVALENCE(K,L) ! { dg-error "conflicts with USE ASSOCIATED attribute" } END