Skip to content

Commit

Permalink
Workaround a clang 17 bug
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Sep 3, 2024
1 parent 79e5ae9 commit 4cae2da
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/ranges-test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,11 @@ TEST(ranges_test, escape) {

EXPECT_EQ(fmt::format("{}", std::vector<std::vector<char>>{{'x'}}),
"[['x']]");

// Disabled due to a clang 17 bug: https://github.com/fmtlib/fmt/issues/4144.
#if FMT_CLANG_VERSION >= 1800
EXPECT_EQ(fmt::format("{}", std::tuple<std::vector<char>>{{'x'}}), "(['x'])");
#endif
}

template <typename R> struct fmt_ref_view {
Expand Down

0 comments on commit 4cae2da

Please sign in to comment.