summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/same_name_1.f90
blob: 5cf13a93bed76c7321c29bf5904841c4c6822c98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
! { dg-do assemble }
module n
private u
contains
  subroutine u
  end subroutine u
end module n
module m
  private :: u
contains
  subroutine u
  end subroutine u
end module m

! { dg-final { cleanup-modules "n m" } }