blob: 38589750755fc4c2a9197cc392d8063a70f9b75a [file] [log] [blame]
// https://issues.dlang.org/show_bug.cgi?id=16303
void yayf(void function(int*) fp);
void yayd(void delegate(int*) dg);
void bar()
{
void function(const(int)* p) fp;
yayf(fp); // should be good but produces error
void delegate(const(int)* p) dg;
yayd(dg); // should be good but produces error
}