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
fix pr/45972
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
complex_intrinsic_2.f90
blob
1327e4a952b3496182acec6c0bee6465dc37b7a2
1
! Testcase for the COMPLEX intrinsic
2
! { dg-do compile }
3
complex
c
4
c
=
complex
(.
true
.,
1.0
)
! { dg-error "must be INTEGER or REAL" }
5
c
=
complex
(
1
)
! { dg-error "Missing actual argument" }
6
c
=
complex
(
1
,
c
)
! { dg-error "must be INTEGER or REAL" }
7
end