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
/
auto_save_1.f90
blob
b4571d2ba844a471ba7f876678d7d84504eafa1f
1
! { dg-do run }
2
! Check that automatic objects work properly in the presence of a save
3
! statement.
4
! PR21034
5
subroutine
test
(
n
)
6
implicit none
7
integer
n
8
real
dte
(
n
)
9
character
(
len
=
n
) ::
s
10
save
11
dte
=
0
12
s
=
""
13
end
14
15
program
prog
16
call
test
(
4
)
17
call
test
(
10
)
18
end program