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
[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
pr77460.f90
blob
5e28a99c17632cf724d04c1e653f4061d9da56d2
1
! { dg-do compile }
2
double precision
,
parameter
::
x
=
huge
(
1d0
)
3
print
*,
sum
((/
x
,-
x
/))
4
print
*,
sum
((/
x
,
x
,-
x
,-
x
/))
! { dg-error "overflow" }
5
print
*,
sum
((/
x
,-
x
,
1d0
/))
6
print
*,
sum
((/
1d0
,
x
,-
x
/))
7
end