diff options
Diffstat (limited to 'tests/auto/other')
-rw-r--r-- | tests/auto/other/compiler/tst_compiler.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/other/compiler/tst_compiler.cpp b/tests/auto/other/compiler/tst_compiler.cpp index 435bd42faf..10d91894b7 100644 --- a/tests/auto/other/compiler/tst_compiler.cpp +++ b/tests/auto/other/compiler/tst_compiler.cpp @@ -1224,8 +1224,11 @@ void tst_Compiler::cxx11_rvalue_refs() #else // we require std::move: { +QT_WARNING_PUSH +QT_WARNING_DISABLE_CLANG("-Wself-move") int i = 1; i = std::move(i); +QT_WARNING_POP MoveDefinedQString s("Hello"); MoveDefinedQString t = std::move(s); |