Merge "Fix WORD_BIT test."
am: 8220d84f52
Change-Id: I2268c2da0e9894db92ec8f54b26dfd508466187c
This commit is contained in:
commit
aa00d5c4f9
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
TEST(limits, macros) {
|
TEST(limits, macros) {
|
||||||
ASSERT_EQ(8, CHAR_BIT);
|
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);
|
ASSERT_EQ(20, NZERO);
|
||||||
#if !defined(MB_LEN_MAX)
|
#if !defined(MB_LEN_MAX)
|
||||||
#error MB_LEN_MAX
|
#error MB_LEN_MAX
|
||||||
|
|
Loading…
Reference in a new issue