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 rtl-optimization/82913
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.fortran-torture
/
execute
/
mainsub.f90
blob
f84e91f2525e645d33d79905d9a77d3612fffbbc
1
! Program to test compilation of subroutines following the main program
2
program
mainsub
3
implicit none
4
integer
i
5
external
test
6
7
i
=
0
8
call
test
(
i
)
9
if
(
i
.
ne
.
42
)
call
abort
10
end program
11
12
subroutine
test
(
p
)
13
implicit none
14
integer
p
15
16
p
=
42
17
end subroutine