Skip to content

Commit

Permalink
add failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldreik committed May 29, 2019
1 parent 3a565d3 commit 5c32451
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/chrono-test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -344,4 +344,7 @@ TEST(ChronoTest, OverflowingFloat2) {
const std::chrono::duration<float, std::atto> d{1.79400457e+31f};
fmt::format("{:%S}", d);
}
TEST(ChronoTest,crash1) {
fmt::format("{:%R}", std::chrono::duration<char, std::mega>{2});
}
#endif // FMT_STATIC_THOUSANDS_SEPARATOR

0 comments on commit 5c32451

Please sign in to comment.