From: Andreas Schwab Date: Sat, 16 Jul 2016 09:53:23 +0000 (+0000) Subject: nullptr35.C (caught): Fix typo. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a9356b1242b57fc99b2200e6c3d5039c9d4948fe;p=gcc.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 2793b344fa1..8de4e955db2 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 2f93ce15731..c84966f24fe 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 { };