aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gfortran.dg/use_only_6.f90
blob: bc15fdb065a82668bbad5f7e618251f0eef33f58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
! { dg-do compile }
! PR 52668 - there used to be a bogus warning about not using b.
! Original test case by Arnaud Desitter.
module mm
  integer :: a, b
  common /mm1/ a, b
end module mm

subroutine aa()
  use mm, only: a
  implicit none
  a = 1
end subroutine aa