repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR ipa/83051
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
warn_unused_var_2.f90
blob
5dcf4991d244610071957f662916dbd9d7506368
1
! { dg-do compile }
2
! { dg-options "-Wunused" }
3
!
4
! PR fortran/31461
5
!
6
! Contributed by Vivek Rao.
7
!
8
9
module
util_mod
10
integer
::
i
,
j
11
end module
util_mod
12
13
program
main
14
use
util_mod
,
only
:
i
,
j
! { dg-warning "Unused module variable .i. which has been explicitly imported" }
15
j
=
1
16
print
*,
"j="
,
j
17
end program
main