Merge from mainline
[official-gcc.git] / gcc / testsuite / gfortran.dg / global_references_2.f90
blob95666981ac0bc6541a6eeed18dc777c1a385cda2
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.
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