From: Craig Topper Date: Tue, 8 Dec 2015 06:49:15 +0000 (+0000) Subject: Replace bitwise AND with logical AND in an expression that already had another logica... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5fd0c9a158e1ff848e4040e181d370f374eee185;p=clang Replace bitwise AND with logical AND in an expression that already had another logical AND. NFC git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@255006 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/SemaCXX/constant-expression-cxx1y.cpp b/test/SemaCXX/constant-expression-cxx1y.cpp index a3444533ce..e9ecbe83b3 100644 --- a/test/SemaCXX/constant-expression-cxx1y.cpp +++ b/test/SemaCXX/constant-expression-cxx1y.cpp @@ -462,7 +462,7 @@ namespace loops { if ((c % 7) == 0) break; } while (c != 21); - return a == 10 && b == 12 & c == 14; + return a == 10 && b == 12 && c == 14; } static_assert(breaks_work(), "");