blob: c31e85e1668c30a0cdae11210c1e3cfaec6e368d [file] [log] [blame]
// WARNING: This file is machine generated by fidlgen.
#include <fidl/test/arrays/llcpp/fidl.h>
#include <memory>
void ::llcpp::fidl::test::arrays::wire::UnionSmallArray::
SizeAndOffsetAssertionHelper() {
static_assert(sizeof(UnionSmallArray) == sizeof(fidl_xunion_t));
static_assert(offsetof(UnionSmallArray, ordinal_) ==
offsetof(fidl_xunion_t, tag));
static_assert(offsetof(UnionSmallArray, envelope_) ==
offsetof(fidl_xunion_t, envelope));
}
void ::llcpp::fidl::test::arrays::wire::UnionLargeArray::
SizeAndOffsetAssertionHelper() {
static_assert(sizeof(UnionLargeArray) == sizeof(fidl_xunion_t));
static_assert(offsetof(UnionLargeArray, ordinal_) ==
offsetof(fidl_xunion_t, tag));
static_assert(offsetof(UnionLargeArray, envelope_) ==
offsetof(fidl_xunion_t, envelope));
}