On Tuesday, 2 October 2018 at 04:13:01 UTC, Joe wrote:
There appears to be a problem with the example athttps://tour.dlang.org/tour/en/gems/unittestingIf compiled with -unittest, the resulting program crashes. It happens with ldc2 on Linux but it can also be seen if you click on "Export" and run it with dmd -unittest.
I think it's more likely a problem with your OS. I am unable to reproduce that with either of dmd or ldc.