Fix segfault on complex pointer formatting (#642)
This commit is contained in:
1 parent
0555cea5fc
commit
8cf30aa2be
2 files changed
+7
-3
No files matched your search
@@ -1761,3 +1761,7 @@ void convert(int);
|
||||
TEST(FormatTest, ConvertCollision) {
|
||||
fmt::format("{}", 42);
|
||||
}
|
||||
|
||||
TEST(FormatTest, Regression) {
|
||||
fmt::format("...........{:<77777.7p}", "foo");
|
||||
}
|
||||
Reference in new issue
Block a user