URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [host_assoc_blockdata_2.f90] - Rev 302
Compare with Previous | Blame | View Log
! { dg-do compile }
MODULE globals
TYPE :: type1
sequence
integer :: x
END TYPE type1
TYPE (type1) :: pdm_bps
common /co/ pdm_bps
END module globals
BLOCK DATA
use globals
END BLOCK DATA
program main
use globals
common /co/ pdm_bps ! { dg-error "already in a COMMON block" }
end program main