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
./:
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
e_d_fmt.f90
blob
1abfa6105ea547a9bca6bcac9677ff8d8cabfb18
1
! { dg-do run }
2
! Verify that the D format uses 'D' as the exponent character.
3
! " " " E " " 'E' " " " "
4
CHARACTER
*
10
c1
,
c2
5
REAL
*
8
r
6
r
=
1.0
7
write
(
c1
,
"(e9.2)"
)
r
8
write
(
c2
,
"(d9.2)"
)
r
9
10
if
(
trim
(
adjustl
(
c1
)) .
ne
.
"0.10E+01"
)
call
abort
()
11
if
(
trim
(
adjustl
(
c2
)) .
ne
.
"0.10D+01"
)
call
abort
()
12
13
END