Internal change

PiperOrigin-RevId: 201592035
Change-Id: I77d9316c94afa5f5ba343341257e97c6bc199e3a
diff --git a/src/url/gurl_unittest.cc b/src/url/gurl_unittest.cc
index f6e426d..df39970 100644
--- a/src/url/gurl_unittest.cc
+++ b/src/url/gurl_unittest.cc
@@ -187,7 +187,7 @@
 TEST(GURLTest, SelfAssign) {
   GURL a("filesystem:http://example.com/temporary/");
   // This should not crash.
-  a = a;
+  a = *&a;  // The *& defeats Clang's -Wself-assign warning.
 }
 
 TEST(GURLTest, CopyFileSystem) {