| 21 | #include "gtest-extra.h" |
| 22 | |
| 23 | TEST(compile_test, compile_fallback) { |
| 24 | // FMT_COMPILE should fallback on runtime formatting when `if constexpr` is |
| 25 | // not available. |
| 26 | EXPECT_EQ("42", fmt::format(FMT_COMPILE("{}"), 42)); |
| 27 | } |
| 28 | |
| 29 | struct type_with_get { |
| 30 | template <int> friend void get(type_with_get); |
nothing calls this directly
no test coverage detected