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
Require target lra in gcc.dg/pr108095.c
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.dg
/
special1.d
blob
8881dd0c299fd1431eb1b058f09dbee394039ee9
1
// { dg-do compile }
2
3
struct
_Complex
(
T
) {
T re
;
T im
; }
4
enum
__c_complex_float
:
_Complex
!
float
;
5
6
bool
equals
(
__c_complex_float
[]
lhs
,
__c_complex_float
[]
rhs
)
7
{
8
foreach
(
i
;
0
..
lhs
.
length
)
9
if
(
lhs
.
ptr
[
i
] !=
rhs
.
ptr
[
i
])
10
return false
;
11
return true
;
12
}