]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
c++: fix testcase [PR112765]
authorPatrick Palka <ppalka@redhat.com>
Wed, 29 Nov 2023 21:47:12 +0000 (16:47 -0500)
committerPatrick Palka <ppalka@redhat.com>
Wed, 29 Nov 2023 21:47:12 +0000 (16:47 -0500)
PR c++/112765

gcc/testsuite/ChangeLog:

* g++.dg/warn/Wparentheses-33.C: Compile with -Wparentheses.

gcc/testsuite/g++.dg/warn/Wparentheses-33.C

index cc5038e8ff6779edb1dfe192ad02c2dd9c1721f9..daa2208084f915f86f5eaf76a4e24d35a7df5b4a 100644 (file)
@@ -1,4 +1,5 @@
 // PR c++/112765
+// { dg-additional-options "-Wparentheses" }
 
 struct A {
   A& operator=(const A&);