OSDN Git Service

2008-03-04 Uros Bizjak <ubizjak@gmail.com>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gfortran.dg / global_references_2.f90
1 ! { dg-do compile }
2 ! This program tests the patch for PR25964. This is a
3 ! regression that would not allow a common block and a statement
4 ! to share the same name.
5 !
6 ! Contributed by Paul Thomas  <pault@gcc.gnu.org>
7   common /foo/ a, b, c
8   foo (x) = x + 1.0
9   print *, foo (0.0)
10   end