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
PR target/83368
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
intrinsic_cmplx.f90
blob
744e77a85a441452b1a5214923d0ce4ab091d9a0
1
! { dg-do compile }
2
! PR fortran/40727
3
program
test
4
integer
,
parameter
::
sp
=
kind
(
1
.
e0
),
dp
=
kind
(
1
.
d0
)
5
complex
(
sp
) ::
s
6
complex
(
dp
) ::
d
7
s
=
cmplx
(
0
.
e0
,
cmplx
(
0
.
e0
,
0
.
e0
))
! { dg-error "either REAL or INTEGER" }
8
d
=
dcmplx
(
0
.
d0
,
cmplx
(
0
.
d0
,
0
.
d0
))
! { dg-error "either REAL or INTEGER" }
9
end program
test