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.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [host_assoc_blockdata_2.f90] - Rev 329
Go to most recent revision | 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
Go to most recent revision | Compare with Previous | Blame | View Log