From 8901448aad74f4e7abe237a62577821164f9199c Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Tue, 8 Dec 2015 06:49:15 +0000 Subject: [PATCH] Replace bitwise AND with logical AND in an expression that already had another logical AND. NFC llvm-svn: 255006 --- clang/test/SemaCXX/constant-expression-cxx1y.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/test/SemaCXX/constant-expression-cxx1y.cpp b/clang/test/SemaCXX/constant-expression-cxx1y.cpp index a344453..e9ecbe8 100644 --- a/clang/test/SemaCXX/constant-expression-cxx1y.cpp +++ b/clang/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(), ""); -- 2.7.4