================
@@ -20440,6 +20440,15 @@ TEST_F(FormatTest, BreakPenaltyScopeResolution) {
Style);
}
+TEST_F(FormatTest, PenaltyDoesNotOverflow) {
----------------
yashaggarwal85d wrote:Fair point, the old test only checked the output https://github.com/llvm/llvm-project/pull/236087 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
