☰
Debian Codegraph
@
1:1.42.0-2.1
1:1.42.0-2
/
/
tests
/
dmd
/
runnable
/
imports
/
template13478b.d
☽
☼
tests/dmd/runnable/imports/template13478b.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
import imports.template13478b;
2
3
import imports.template13478a;
4
5
// Note that foo is only used in the template constraint here.
6
T barImpl(T)(T t) if (is(typeof({ foo!T(); }))) { return t; }
7
int bar(int a) { return barImpl(a); }