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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [equiv_constraint_7.f90] - Blame information for rev 774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
! { dg-options "-O0" }
3
! PR20890 - Equivalence cannot contain overlapping unequal initializers.
4
! Contributed by Joost VandeVondele 
5
! Started out being in BLOCK DATA; however, blockdata variables must be in
6
! COMMON and therefore cannot have F95 style initializers....
7
 MODULE DATA
8
  INTEGER :: I=1,J=2  ! { dg-error "Overlapping unequal initializers" }
9
  EQUIVALENCE(I,J)
10
 END MODULE DATA
11
 END
12
! { dg-final { cleanup-modules "data" } }

powered by: WebSVN 2.1.0

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