☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test20420.d
☽
☼
gcc/testsuite/gdc.test/compilable/test20420.d
code
plain
raw
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
}