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 568496d5b, druntime 178c44ff, phobos 574bf883b.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test20420.d
blob
5d99e9c08528edb540490f3c99a8cd92c2f5cd64
1
// REQUIRED_ARGS: -inline
2
3
// https://issues.dlang.org/show_bug.cgi?id=20420
4
5
struct
S
{ ~
this
(); }
6
7
class
C
8
{
9
this
(
S
,
int
) {}
10
}
11
12
int
i
();
13
14
C
create
()
15
{
16
return new
C
(
S
(),
i
());
17
}
18
19
auto
test
()
20
{
21
auto
c
=
create
();
22
}