From a9356b1242b57fc99b2200e6c3d5039c9d4948fe Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sat, 16 Jul 2016 09:53:23 +0000 Subject: [PATCH] nullptr35.C (caught): Fix typo. * g++.dg/cpp0x/nullptr35.C (caught): Fix typo. From-SVN: r238413 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/g++.dg/cpp0x/nullptr35.C | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2793b34..8de4e95 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 2f93ce1..c84966f 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 { }; -- 2.7.4