Skip to content

Commit 5e258bb

Browse files
jboynesaentinger
authored andcommitted
Also check the versioa for clang
1 parent d2c04b5 commit 5e258bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/src/String/test_move.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ TEST_CASE("Testing String move assignment", "[String-move-02]")
3131

3232
TEST_CASE("Testing String move self assignment", "[String-move-03]")
3333
{
34-
#if defined(GCC_VERSION) && GCC_VERSION >= 13
34+
#if (defined(GCC_VERSION) && GCC_VERSION >= 13) || (defined(__clang_major__) && __clang_major__ >= 14)
3535
#pragma GCC diagnostic push
3636
#pragma GCC diagnostic ignored "-Wself-move"
3737
#endif

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy