Formatting of function pointers, member function pointers, member object pointers... (#2610)

This commit is contained in:
Alex Guteniev authored and GitHub committed 2021-11-23 12:55:22 -08:00
1 parent 19cac63fe4
commit a3ab36c803
3 files changed
+18 -2

No files matched your search

+6
View File
@@ -67,6 +67,12 @@ expect_compile_error("
fmt::format(\"{}\", S());
")
# Formatting a function
expect_compile_error("
void (*f)();
fmt::format(\"{}\", f);
")
# Make sure that compiler features detected in the header
# match the features detected in CMake.
if (SUPPORTS_USER_DEFINED_LITERALS)