OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [module_blank_common.f90] - Rev 694

Compare with Previous | Blame | View Log

! { dg-do run }
!
! This tests that blank common works in modules. PR23270
! Contributed by Paul Thomas  <pault@gcc.gnu.org>
!
module global
  common a, b
  real    a, b
end module global
program blank_common
  use global
  common z
  complex z
  a = 999.0_4
  b = -999.0_4
  if (z.ne.cmplx (a,b)) call abort ()
end program blank_common

! { dg-final { cleanup-modules "global" } }

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.