[Issue 14176] New: the code has a link problem.
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Feb 13 11:07:11 PST 2015
https://issues.dlang.org/show_bug.cgi?id=14176
Issue ID: 14176
Summary: the code has a link problem.
Product: D
Version: D2
Hardware: x86_64
OS: Windows
Status: NEW
Severity: normal
Priority: P1
Component: DMD
Assignee: nobody at puremagic.com
Reporter: steven_kladitis at yahoo.com
import std.stdio;
import std.traits;
int foo(int x, long y);
void Bar(R, P...)(R function(P))
{
writeln("return type is ", typeid(R));
writeln("parameter types are ", typeid(P));
}
void main()
{
Bar(&foo);
}
// compiles but does not link in windows
--
More information about the Digitalmars-d-bugs
mailing list