forked from boostorg/endian
Test actual object. Mini-review suggestion from Rob Stewart.
This commit is contained in:
@@ -38,9 +38,9 @@ namespace
|
|||||||
|
|
||||||
int main(int, char* [])
|
int main(int, char* [])
|
||||||
{
|
{
|
||||||
BOOST_STATIC_ASSERT(sizeof(header) == 16U); // reality check
|
|
||||||
|
|
||||||
header h;
|
header h;
|
||||||
|
|
||||||
|
BOOST_STATIC_ASSERT(sizeof(h) == 16U); // reality check
|
||||||
|
|
||||||
h.file_code = 0x01020304;
|
h.file_code = 0x01020304;
|
||||||
h.file_length = sizeof(header);
|
h.file_length = sizeof(header);
|
||||||
|
Reference in New Issue
Block a user