nullptr35.C (caught): Fix typo.
authorAndreas Schwab <schwab@linux-m68k.org>
Sat, 16 Jul 2016 09:53:23 +0000 (09:53 +0000)
committerAndreas Schwab <schwab@gcc.gnu.org>
Sat, 16 Jul 2016 09:53:23 +0000 (09:53 +0000)
* g++.dg/cpp0x/nullptr35.C (caught): Fix typo.

From-SVN: r238413

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/nullptr35.C

index 2793b344fa1e59e99212d94e388882e4c9a02f65..8de4e955db2a701b40d97ebde972b2b799fa6efe 100644 (file)
@@ -1,3 +1,7 @@
+2016-07-16  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * g++.dg/cpp0x/nullptr35.C (caught): Fix typo.
+
 2016-07-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
            Marco Restelli <mrestelli@gmail.com>
 
index 2f93ce1573121e5dbb6b7d0e45fae90935171c59..c84966f24fe6a45511efd62c54a47eee0e7e1037 100644 (file)
@@ -11,7 +11,7 @@ int result = 0;
 void __attribute__((noinline))
 caught(int bit)
 {
-  result &= bit;
+  result |= bit;
 }
 
 struct A { };