diff options
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/modernize-pass-by-value.cpp')
-rw-r--r-- | clang-tools-extra/test/clang-tidy/modernize-pass-by-value.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/clang-tools-extra/test/clang-tidy/modernize-pass-by-value.cpp b/clang-tools-extra/test/clang-tidy/modernize-pass-by-value.cpp index e4c97317b3f..724b1f69cfe 100644 --- a/clang-tools-extra/test/clang-tidy/modernize-pass-by-value.cpp +++ b/clang-tools-extra/test/clang-tidy/modernize-pass-by-value.cpp @@ -193,10 +193,3 @@ struct S { // CHECK-FIXES: S(Movable &&M) : M(M) {} Movable M; }; - -// Test that types that are trivially copyable will not use std::move. This will -// cause problems with misc-move-const-arg, as it will revert it. -struct T { - std::array<int, 10> a_; - T(std::array<int, 10> a) : a_(a) {} -}; |