Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/global_references_2.f90 @ 127:4c56639505ff
fix function.c and add CbC-example Makefile
author | mir3636 |
---|---|
date | Wed, 11 Apr 2018 18:46:58 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { 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