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
[to-be-committed] [RISC-V] Use Zbkb for general 64 bit constants when profitable
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
boz_complex_3.f90
blob
4318a7f3c594de4c0d6a8ffa860d39eb5c15652d
1
! { dg-do run }
2
! { dg-options "-fallow-invalid-boz -w" }
3
program
foo
4
5
implicit none
6
7
complex
(
4
)
z
8
9
z
=
complex
(
z
'4444'
,
42
)
10
if
(
real
(
z
,
4
) /=
17476.0
.
or
.
aimag
(
z
) /=
42.0
)
stop
2
11
12
z
=
complex
(
z
'44444400'
,
42
.)
13
if
(
real
(
z
,
4
) /=
785.062500
.
or
.
aimag
(
z
) /=
42.0
)
stop
3
14
15
end program
foo