From: Andreas Schwab Date: Sat, 16 Jul 2016 09:53:23 +0000 (+0000) Subject: nullptr35.C (caught): Fix typo. X-Git-Tag: basepoints/gcc-8~5656 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9356b1242b57fc99b2200e6c3d5039c9d4948fe;p=thirdparty%2Fgcc.git nullptr35.C (caught): Fix typo. * g++.dg/cpp0x/nullptr35.C (caught): Fix typo. From-SVN: r238413 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2793b344fa1e..8de4e955db2a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2016-07-16 Andreas Schwab + + * g++.dg/cpp0x/nullptr35.C (caught): Fix typo. + 2016-07-15 Jerry DeLisle Marco Restelli diff --git a/gcc/testsuite/g++.dg/cpp0x/nullptr35.C b/gcc/testsuite/g++.dg/cpp0x/nullptr35.C index 2f93ce157312..c84966f24fe6 100644 --- a/gcc/testsuite/g++.dg/cpp0x/nullptr35.C +++ b/gcc/testsuite/g++.dg/cpp0x/nullptr35.C @@ -11,7 +11,7 @@ int result = 0; void __attribute__((noinline)) caught(int bit) { - result &= bit; + result |= bit; } struct A { };