Showing with 1 addition and 1 deletion.
  1. +1 −1 std/conv.d
2 changes: 1 addition & 1 deletion std/conv.d
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ private T toImpl(T, S)(S value)
T opCast(U)() @safe pure { assert(false); }
}
}
to!(Test.T)(Test.S());
cast(void)to!(Test.T)(Test.S());

// make sure std.conv.to is doing the same thing as initialization
Test.S s;
Expand Down