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
d: Merge upstream dmd 47871363d, druntime, c52e28b7, phobos 99e9c1b77.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test10073.d
blob
1e0c5466353807f3ada5139b66d6097f1ac03173
1
struct
Arr
(
T
)
2
{
3
T
[]
dArr
;
4
alias
dArr
this
;
5
bool
opEquals
(
Arr
!
T d
)
6
{
7
foreach
(
idx
,
it
;
d
)
8
{
9
if
(
this
[
idx
] !=
it
)
10
{
11
return false
;
12
}
13
}
14
return true
;
15
}
16
}
17
18
class
Bar
19
{
20
Arr
!
Foo fooQ
;
21
}
22
23
class
Foo
{}
// NG