Fix segfault on complex pointer formatting (#642)

This commit is contained in:
Victor Zverovich
2018-02-01 21:28:20 -08:00
parent 0555cea5fc
commit 8cf30aa2be
2 changed files with 7 additions and 3 deletions

View File

@@ -1761,3 +1761,7 @@ void convert(int);
TEST(FormatTest, ConvertCollision) {
fmt::format("{}", 42);
}
TEST(FormatTest, Regression) {
fmt::format("...........{:<77777.7p}", "foo");
}