diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2015-12-30 11:49:41 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2015-12-30 11:49:41 +0000 |
| commit | 45b533945f0851ec234ca846e1af5ee1e4df0b6e (patch) | |
| tree | 0a5b74c0b9ca73aded34df95c91fcaf3815230d8 /test/SemaCXX/constant-expression-cxx1y.cpp | |
| parent | 7e86edd64bfae4e324224452e4ea879b3371a4bd (diff) | |
Vendor import of clang trunk r256633:vendor/clang/clang-trunk-r256633
Diffstat (limited to 'test/SemaCXX/constant-expression-cxx1y.cpp')
| -rw-r--r-- | test/SemaCXX/constant-expression-cxx1y.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaCXX/constant-expression-cxx1y.cpp b/test/SemaCXX/constant-expression-cxx1y.cpp index e8925f3f84aa..e9ecbe83b3da 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(), ""); @@ -872,7 +872,7 @@ namespace Lifetime { namespace Bitfields { struct A { - bool b : 3; + bool b : 1; int n : 4; unsigned u : 5; }; |
