Skip to content

Commit

Permalink
Also check the versioa for clang
Browse files Browse the repository at this point in the history
  • Loading branch information
jboynes committed Sep 7, 2023
1 parent a3ef0db commit a909868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/src/String/test_move.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ TEST_CASE("Testing String move assignment", "[String-move-02]")

TEST_CASE("Testing String move self assignment", "[String-move-03]")
{
#if defined(GCC_VERSION) && GCC_VERSION >= 13
#if (defined(GCC_VERSION) && GCC_VERSION >= 13) || (defined(__clang_major__) && __clang_major__ >= 14)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wself-move"
#endif
Expand Down

0 comments on commit a909868

Please sign in to comment.