☰
Debian Codegraph
@
1:1.42.0-2.1
1:1.42.0-2
/
/
tests
/
dmd
/
runnable
/
imports
/
link9571a.d
☽
☼
tests/dmd/runnable/imports/link9571a.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.link9571a;
2
struct MapResult(alias fun)
3
{
4
void bar() { fun(0); }
5
}
6
auto foo()
7
{
8
alias MapResult!(function(int c) => 0) M;
9
M m;
10
m.bar();
11
}