summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/generic_2.f90
blob: 459dd7ec8173360a9d0b32befabe47c7f213180e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
! { dg-do compile }
! testcase from PR 17583
module bidon 
 
 interface 
  subroutine drivexc(nspden,rho_updn) 
   integer,  intent(in) :: nspden 
   integer, intent(in) :: rho_updn(nspden) 
  end subroutine drivexc 
 end interface 
 
end module bidon 
 
 subroutine nonlinear(nspden) 
 
 use bidon 
  
 integer,intent(in) :: nspden 
 
 end subroutine nonlinear

! { dg-final { cleanup-modules "bidon" } }