Merge "Fix WORD_BIT test."

am: 8220d84f52

Change-Id: I2268c2da0e9894db92ec8f54b26dfd508466187c
This commit is contained in:
Elliott Hughes 2017-10-23 21:04:29 +00:00 committed by android-build-merger
commit aa00d5c4f9

View file

@ -20,7 +20,7 @@
TEST(limits, macros) {
ASSERT_EQ(8, CHAR_BIT);
ASSERT_EQ(static_cast<int>(sizeof(int)), WORD_BIT);
ASSERT_EQ(8 * static_cast<int>(sizeof(int)), WORD_BIT);
ASSERT_EQ(20, NZERO);
#if !defined(MB_LEN_MAX)
#error MB_LEN_MAX