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
[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
pr77260_2.f90
blob
0c5ebe3a65618c520c5b2aa9d3f3f9eaa9e46af8
1
! { dg-do compile }
2
! { dg-options "-Wall" }
3
module
foo
4
5
implicit none
6
7
private
8
public f1
,
f2
9
10
contains
11
12
integer function
f1
()
13
integer
f2
14
integer
f3
! { dg-warning "Unused variable" }
15
f1
=
5
16
entry
f2
17
f2
=
8
18
end function
19
end module
20
21
program
test
22
use
foo
23
implicit none
24
print
*,
f2
()
25
end program