URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 302 |
Rev 384 |
! { 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" } }
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.