https://issues.dlang.org/show_bug.cgi?id=13572

--- Comment #11 from Ketmar Dark <ket...@ketmar.no-ip.org> ---
sure it can.

  int n;
  auto dg = delegate () { return n+42; };
  dg.ptr = cast(void*)42;

  safeFunction(dg);

--

Reply via email to