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, druntime 26f049fb26, phobos 330d6a4fd.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test22997.d
blob
3cad527b4c2ed9441d23c604e1cc6def96a452fd
1
// https://issues.dlang.org/show_bug.cgi?id=22997
2
3
struct
Forward
{}
4
5
struct
Foo
6
{
7
this
(
ref typeof
(
this
)
rhs
)
8
{
9
this
(
rhs
,
Forward
.
init
);
10
}
11
12
this
(
ref typeof
(
this
)
rhs
,
Forward
) {}
13
this
(
typeof
(
this
)
rhs
,
int
i
,
double
d
,
string s
) {}
14
}