URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [host_assoc_blockdata_2.f90] - Rev 694
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
! { dg-final { cleanup-modules "globals" } }