* cfgloopmanip.c (duplicate_loop_to_header_edge): Cleanup profile
[official-gcc.git] / gcc / testsuite / gfortran.dg / equiv_constraint_7.f90
blobf999d00665bf56f0806bcb6d3e975e21a5dda746
1 ! { dg-do compile }
2 ! { dg-options "-O0" }
3 ! PR20890 - Equivalence cannot contain overlapping unequal initializers.
4 ! Contributed by Joost VandeVondele <jv244@cam.ac.uk>
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
9 EQUIVALENCE(I,J) ! { dg-error "Overlapping unequal initializers" }
10 END MODULE DATA
11 END