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
cselib: Discard useless locs of preserved VALUEs [PR116627]
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
automatic_save.f90
blob
2455d208ecc795856f7569237e06807e68f80041
1
! { dg-do compile }
2
! { dg-options "-fdec-static" }
3
! An AUTOMATIC statement cannot be used with SAVE
4
FUNCTION
X
()
5
REAL
,
SAVE
,
AUTOMATIC
::
Y
! { dg-error "AUTOMATIC attribute conflicts with SAVE attribute" }
6
y
=
1
7
END FUNCTION
X
8
END