PR target/83368
[official-gcc.git] / gcc / testsuite / gfortran.dg / warn_unused_var_3.f90
blob9bc7f0ba398e39de591696725aea9be7522bb847
1 ! { dg-do compile }
2 ! { dg-options "-Wunused-parameter" }
4 ! PR fortran/31461
6 module util_mod
7 integer, parameter :: i = 4
8 end module util_mod
10 program main
11 use util_mod, only: i ! { dg-warning "Unused parameter .i. which has been explicitly imported" }
12 integer, parameter :: j = 4 ! { dg-warning "Unused parameter .j. declared at" }
13 end program main