URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [common_3.f90] - Rev 154
Compare with Previous | Blame | View Log
! { dg-do compile }
! Check that equivalences match common block layout.
program common_3
common /block/ a, b, c, d ! { dg-error "not match ordering" "" }
integer a, b, c, d, n
dimension n(4)
equivalence (a, n(1))
equivalence (c, n(4))
end program