We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59b42bb commit 21ef2c6Copy full SHA for 21ef2c6
test/src/String/test_move.cpp
@@ -31,7 +31,7 @@ TEST_CASE("Testing String move assignment", "[String-move-02]")
31
32
TEST_CASE("Testing String move self assignment", "[String-move-03]")
33
{
34
-#if defined(GCC_VERSION) && GCC_VERSION >= 13
+#if (defined(GCC_VERSION) && GCC_VERSION >= 13) || (defined(__clang_major__) && __clang_major__ >= 14)
35
#pragma GCC diagnostic push
36
#pragma GCC diagnostic ignored "-Wself-move"
37
#endif
0 commit comments