// Copyright (c) 2008-2010 Kent State University // // This file is distributed under the MIT License. See the accompanying file // LICENSE.txt or http://www.opensource.org/licenses/mit-license.php for terms // and conditions. #include #include using namespace origin; struct empty { }; struct test1 : compressed { int x; }; struct test2 : compressed { int x; }; int main() { assert(sizeof(test1) == sizeof(int)); assert(sizeof(test2) == 2 * sizeof(int)); }