blob: 5201404e2043af52d9d0e07b94754882e5b7e872 [file] [log] [blame]
extern (C++)
{
double twice(double d)
{
return d * 2;
}
void* createFunction(R)(R function(double));
}
void main()
{
const f = createFunction(&twice);
}