diff --git a/test/mem_fn_eq_test.cpp b/test/mem_fn_eq_test.cpp index 7611a9a..53974bb 100644 --- a/test/mem_fn_eq_test.cpp +++ b/test/mem_fn_eq_test.cpp @@ -20,6 +20,10 @@ #include #include +#if defined(__clang__) +# pragma clang diagnostic ignored "-Wunused-but-set-variable" +#endif + struct X { int dm_1;