OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [equiv_constraint_3.f90] - Diff between revs 149 and 154

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 149 Rev 154
! { dg-do compile }
! { dg-do compile }
! PR20900 - USE associated variables cannot be equivalenced.
! PR20900 - USE associated variables cannot be equivalenced.
! Contributed by Joost VandeVondele 
! Contributed by Joost VandeVondele 
MODULE TEST
MODULE TEST
 INTEGER :: I
 INTEGER :: I
END MODULE
END MODULE
! note 11.7
! note 11.7
USE TEST, ONLY : K=>I
USE TEST, ONLY : K=>I
INTEGER :: L
INTEGER :: L
EQUIVALENCE(K,L) ! { dg-error "conflicts with USE ASSOCIATED attribute" }
EQUIVALENCE(K,L) ! { dg-error "conflicts with USE ASSOCIATED attribute" }
END
END
! { dg-final { cleanup-modules "TEST" } }
! { dg-final { cleanup-modules "TEST" } }
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.