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

Subversion Repositories openrisc

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

Compare with Previous | Blame | View Log

! { dg-do compile }
! { dg-options "-std=legacy" }
!
! This program tests the patch for PR25964. This is a
! regression that would not allow a common block and a statement
! to share the same name.
!
! Contributed by Paul Thomas  <pault@gcc.gnu.org>
  common /foo/ a, b, c
  foo (x) = x + 1.0
  print *, foo (0.0)
  end

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.