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
/
test22638.d
blob
d7b5fdf1a9dd0b850190fb17f234ba6d12d73b0a
1
// https://issues.dlang.org/show_bug.cgi?id=22638
2
3
struct
S
4
{
5
this
(
ref const
(
S
));
6
~
this
();
7
}
8
9
extern
(
C
++)
void
set
(
const
S s
);
10
11
void
disp
()
12
{
13
S p
;
14
return
set
(
p
);
15
}