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

--- Comment #2 from Dominikus Dittes Scherkl <[email protected]> ---
unittest
{
   byte a = -128;
   auto b = abs(a);
   assert(is(typeof(b) == ubyte));
   assert(b == 128);
}

--

Reply via email to