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
re PR fortran/78741 (ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1534)
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
module_variable_1.f90
blob
38b915e6bef2d767c9b19be3fda915b0390ba5de
1
! { dg-do compile }
2
! { dg-options "-Wall" }
3
! { dg-require-visibility "" }
4
module
foo
5
integer
,
private
::
i
! { dg-warning "Unused PRIVATE" }
6
integer
,
private
::
j
=
0
7
contains
8
subroutine
bar
9
j
=
j
+
1
10
end subroutine
bar
11
end module
foo
12
13
module
bar
14
private
15
integer
::
i
! { dg-warning "Unused PRIVATE" }
16
end module
bar