-
Will Thompson authored
This is essentially a C version of the reproducer on #1600. It is based on the existing test_seconds(), which relates to a similar but distinct overflow. I've only actually run this on a system with 32-bit ints, it should work regardless of the width of an int, since the remainder after wrapping will by construction be less than 1 second.