// (C) Copyright 2008-2009 SDML (www.sdml.info) // // Use, modification and distribution is subject to the Boost Software // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include #include #include using namespace origin; struct test1 : compressed { int x; }; struct test2 : compressed { int x; }; int main() { BOOST_ASSERT(sizeof(test1) == sizeof(int)); BOOST_ASSERT(sizeof(test2) == 2 * sizeof(int)); }