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
Increase timeout factor for hppa*-*-* in gcc.dg/long_branch.c
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
save_result.f90
blob
de70cc38f4cd727f051630d6fbe31c27a8bf397a
1
! { dg-do compile }
2
! PR20856 - A function result may not have SAVE attribute.
3
! Contributed by Joost VandeVondele <jv244@cam.ac.uk>
4
FUNCTION
X
()
RESULT
(
Y
)
5
REAL
,
SAVE
::
Y
! { dg-error "RESULT attribute conflicts with SAVE" }
6
y
=
1
7
END FUNCTION
X
8
END