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
Fix compilation failure with C++98 compilers
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
pr77260_1.f90
blob
76ef3cffced4282e961497f996d25c408d308e4c
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
f1
=
5
15
entry
f2
16
f2
=
8
17
end function
18
end module
19
20
program
test
21
use
foo
22
implicit none
23
print
*,
f2
()
24
end program