☰
Debian Codegraph
@
1:1.42.0-2.1
1:1.42.0-2
/
/
tests
/
dmd
/
runnable
/
imports
/
bug10425.d
☽
☼
tests/dmd/runnable/imports/bug10425.d
code
plain
raw
BSD-3-Clause
and
BSL-1.0
and
LLVM
(c) 2007-2025 LDC Team; David Nadlinger,; Kai Nacke,; Tomas Lindquist Olsen,; Kinke,; Johan Engelen,; Alexey Prokhin
debian/copyright
1
module imports.bug10425;
2
3
struct A()
4
{
5
int opCmp(const ref A p) const
6
{
7
return 0;
8
}
9
10
string toString()
11
{
12
return "";
13
}
14
}
15
16
struct B()
17
{
18
void foo()
19
{
20
auto a = new A!();
21
}
22
}
23
24
struct C
25
{
26
alias A!() a_t;
27
28
this(B!() b)
29
{
30
31
}
32
}