mirror of
https://github.com/autc04/Retro68.git
synced 2024-09-28 18:56:06 +00:00
12 lines
297 B
Fortran
12 lines
297 B
Fortran
! { 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
|