about summary refs log tree commit diff
path: root/absl/container/inlined_vector_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'absl/container/inlined_vector_test.cc')
-rw-r--r--absl/container/inlined_vector_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/container/inlined_vector_test.cc b/absl/container/inlined_vector_test.cc
index 0e39855b3066..26a7d5bca86f 100644
--- a/absl/container/inlined_vector_test.cc
+++ b/absl/container/inlined_vector_test.cc
@@ -651,7 +651,7 @@ TEST(IntVec, AliasingCopyAssignment) {
     IntVec original;
     Fill(&original, len);
     IntVec dup = original;
-    dup = dup;
+    dup = *&dup;
     EXPECT_EQ(dup, original);
   }
 }