From: Patrick Palka Date: Wed, 29 Nov 2023 21:47:12 +0000 (-0500) Subject: c++: fix testcase [PR112765] X-Git-Tag: basepoints/gcc-15~4162 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b242afffdddc251eca96b37c59802aa66197be7;p=thirdparty%2Fgcc.git c++: fix testcase [PR112765] PR c++/112765 gcc/testsuite/ChangeLog: * g++.dg/warn/Wparentheses-33.C: Compile with -Wparentheses. --- diff --git a/gcc/testsuite/g++.dg/warn/Wparentheses-33.C b/gcc/testsuite/g++.dg/warn/Wparentheses-33.C index cc5038e8ff67..daa2208084f9 100644 --- a/gcc/testsuite/g++.dg/warn/Wparentheses-33.C +++ b/gcc/testsuite/g++.dg/warn/Wparentheses-33.C @@ -1,4 +1,5 @@ // PR c++/112765 +// { dg-additional-options "-Wparentheses" } struct A { A& operator=(const A&);