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

--- Comment #10 from Steven Schveighoffer <[email protected]> ---
(In reply to Andrei Alexandrescu from comment #9)
> I just realized this can be realized with relative ease as follows:
> 
> void fun(T)(T arg)
> {
>    version(unittest)
>    {
>       ... testing ...
>    }
>    ... stuff ...
> }

That won't run during unit tests, though. But I think Timon's point covers the
request.

--

Reply via email to