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 pr/45972
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
func_result_4.f90
blob
81f02a57ca2854dfa9e878c15f94f7d9bc8a3337
1
! { dg-do "compile" }
2
! { dg-options "-c" }
3
!
4
! Do not apply the SAVE attribute to function results.
5
!
6
FUNCTION
f
()
RESULT
(
g
)
7
INTEGER
::
g
8
SAVE
9
g
=
42
10
END FUNCTION