diff options
Diffstat (limited to 'final/ABI-Testsuite/test/struct_layout_tests/PACKED/T_Sbez_xaa.x')
-rwxr-xr-x | final/ABI-Testsuite/test/struct_layout_tests/PACKED/T_Sbez_xaa.x | 1136 |
1 files changed, 1136 insertions, 0 deletions
diff --git a/final/ABI-Testsuite/test/struct_layout_tests/PACKED/T_Sbez_xaa.x b/final/ABI-Testsuite/test/struct_layout_tests/PACKED/T_Sbez_xaa.x new file mode 100755 index 00000000..10420fa0 --- /dev/null +++ b/final/ABI-Testsuite/test/struct_layout_tests/PACKED/T_Sbez_xaa.x @@ -0,0 +1,1136 @@ +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// RUN: c_compiler -c -o %t1.o -I "common" "common/testsuite.c" +// RUN: cxx_compiler cxx_rtti -c %s -I "common" -o %t2.o +// RUN: linker -o %t2%exeext %t1.o %t2.o +// RUN: runtool %t2%exeext | checker "TEST PASSED" +#include "testsuite.h" +#ifdef __cplusplus +typedef struct empty {} empty; +struct __attribute__((packed)) aB_BFu0c_Sf { bool v1; unsigned char :0; empty v2; }; +struct __attribute__((packed)) aB_BFu0i_Sf { bool v1; unsigned int :0; empty v2; }; +struct __attribute__((packed)) aB_BFu0ll_Sf { bool v1; unsigned long long :0; empty v2; }; +struct __attribute__((packed)) aB_BFu0s_Sf { bool v1; unsigned short :0; empty v2; }; +struct __attribute__((packed)) aB_Sf_BFu0c { bool v1; empty v2; unsigned char :0; }; +struct __attribute__((packed)) aB_Sf_BFu0i { bool v1; empty v2; unsigned int :0; }; +struct __attribute__((packed)) aB_Sf_BFu0ll { bool v1; empty v2; unsigned long long :0; }; +struct __attribute__((packed)) aB_Sf_BFu0s { bool v1; empty v2; unsigned short :0; }; +struct __attribute__((packed)) aBFu0c_B_Sf { unsigned char :0; bool v1; empty v2; }; +struct __attribute__((packed)) aBFu0c_Sf_B { unsigned char :0; empty v1; bool v2; }; +struct __attribute__((packed)) aBFu0i_B_Sf { unsigned int :0; bool v1; empty v2; }; +struct __attribute__((packed)) aBFu0i_Sf_B { unsigned int :0; empty v1; bool v2; }; +struct __attribute__((packed)) aBFu0ll_B_Sf { unsigned long long :0; bool v1; empty v2; }; +struct __attribute__((packed)) aBFu0ll_Sf_B { unsigned long long :0; empty v1; bool v2; }; +struct __attribute__((packed)) aBFu0s_B_Sf { unsigned short :0; bool v1; empty v2; }; +struct __attribute__((packed)) aBFu0s_Sf_B { unsigned short :0; empty v1; bool v2; }; +struct __attribute__((packed)) aSf_B_BFu0c { empty v1; bool v2; unsigned char :0; }; +struct __attribute__((packed)) aSf_B_BFu0i { empty v1; bool v2; unsigned int :0; }; +struct __attribute__((packed)) aSf_B_BFu0ll { empty v1; bool v2; unsigned long long :0; }; +struct __attribute__((packed)) aSf_B_BFu0s { empty v1; bool v2; unsigned short :0; }; +struct __attribute__((packed)) aSf_BFu0c_B { empty v1; unsigned char :0; bool v2; }; +struct __attribute__((packed)) aSf_BFu0i_B { empty v1; unsigned int :0; bool v2; }; +struct __attribute__((packed)) aSf_BFu0ll_B { empty v1; unsigned long long :0; bool v2; }; +struct __attribute__((packed)) aSf_BFu0s_B { empty v1; unsigned short :0; bool v2; }; +#pragma pack(1) +struct B_BFu0c_Sf { bool v1; unsigned char :0; empty v2; }; +struct B_BFu0i_Sf { bool v1; unsigned int :0; empty v2; }; +struct B_BFu0ll_Sf { bool v1; unsigned long long :0; empty v2; }; +struct B_BFu0s_Sf { bool v1; unsigned short :0; empty v2; }; +struct B_Sf_BFu0c { bool v1; empty v2; unsigned char :0; }; +struct B_Sf_BFu0i { bool v1; empty v2; unsigned int :0; }; +struct B_Sf_BFu0ll { bool v1; empty v2; unsigned long long :0; }; +struct B_Sf_BFu0s { bool v1; empty v2; unsigned short :0; }; +struct BFu0c_B_Sf { unsigned char :0; bool v1; empty v2; }; +struct BFu0c_Sf_B { unsigned char :0; empty v1; bool v2; }; +struct BFu0i_B_Sf { unsigned int :0; bool v1; empty v2; }; +struct BFu0i_Sf_B { unsigned int :0; empty v1; bool v2; }; +struct BFu0ll_B_Sf { unsigned long long :0; bool v1; empty v2; }; +struct BFu0ll_Sf_B { unsigned long long :0; empty v1; bool v2; }; +struct BFu0s_B_Sf { unsigned short :0; bool v1; empty v2; }; +struct BFu0s_Sf_B { unsigned short :0; empty v1; bool v2; }; +struct Sf_B_BFu0c { empty v1; bool v2; unsigned char :0; }; +struct Sf_B_BFu0i { empty v1; bool v2; unsigned int :0; }; +struct Sf_B_BFu0ll { empty v1; bool v2; unsigned long long :0; }; +struct Sf_B_BFu0s { empty v1; bool v2; unsigned short :0; }; +struct Sf_BFu0c_B { empty v1; unsigned char :0; bool v2; }; +struct Sf_BFu0i_B { empty v1; unsigned int :0; bool v2; }; +struct Sf_BFu0ll_B { empty v1; unsigned long long :0; bool v2; }; +struct Sf_BFu0s_B { empty v1; unsigned short :0; bool v2; }; +#endif // __cplusplus +#ifdef __cplusplus + + +static void Test_empty() +{ + { + init_simple_test("empty"); + empty lv; + check2(sizeof(lv), 1, "sizeof(empty)"); + check2(__alignof__(lv), 1, "__alignof__(empty)"); + } +} +static Arrange_To_Call_Me vempty(Test_empty, "empty", 1); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_aB_BFu0c_Sf() +{ + { + init_simple_test("aB_BFu0c_Sf"); + static aB_BFu0c_Sf lv; + check2(sizeof(lv), 2, "sizeof(aB_BFu0c_Sf)"); + check2(__alignof__(lv), 1, "__alignof__(aB_BFu0c_Sf)"); + check_field_offset(lv, v1, 0, "aB_BFu0c_Sf.v1"); + check_field_offset(lv, v2, 1, "aB_BFu0c_Sf.v2"); + } +} +static Arrange_To_Call_Me vaB_BFu0c_Sf(Test_aB_BFu0c_Sf, "aB_BFu0c_Sf", 2); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_aB_BFu0i_Sf() +{ + { + init_simple_test("aB_BFu0i_Sf"); + static aB_BFu0i_Sf lv; + check2(sizeof(lv), ABISELECT(5,5), "sizeof(aB_BFu0i_Sf)"); + check2(__alignof__(lv), 1, "__alignof__(aB_BFu0i_Sf)"); + check_field_offset(lv, v1, 0, "aB_BFu0i_Sf.v1"); + check_field_offset(lv, v2, ABISELECT(4,4), "aB_BFu0i_Sf.v2"); + } +} +static Arrange_To_Call_Me vaB_BFu0i_Sf(Test_aB_BFu0i_Sf, "aB_BFu0i_Sf", ABISELECT(5,5)); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_aB_BFu0ll_Sf() +{ + { + init_simple_test("aB_BFu0ll_Sf"); + static aB_BFu0ll_Sf lv; + check2(sizeof(lv), ABISELECT(9,5), "sizeof(aB_BFu0ll_Sf)"); + check2(__alignof__(lv), 1, "__alignof__(aB_BFu0ll_Sf)"); + check_field_offset(lv, v1, 0, "aB_BFu0ll_Sf.v1"); + check_field_offset(lv, v2, ABISELECT(8,4), "aB_BFu0ll_Sf.v2"); + } +} +static Arrange_To_Call_Me vaB_BFu0ll_Sf(Test_aB_BFu0ll_Sf, "aB_BFu0ll_Sf", ABISELECT(9,5)); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_aB_BFu0s_Sf() +{ + { + init_simple_test("aB_BFu0s_Sf"); + static aB_BFu0s_Sf lv; + check2(sizeof(lv), ABISELECT(3,3), "sizeof(aB_BFu0s_Sf)"); + check2(__alignof__(lv), 1, "__alignof__(aB_BFu0s_Sf)"); + check_field_offset(lv, v1, 0, "aB_BFu0s_Sf.v1"); + check_field_offset(lv, v2, ABISELECT(2,2), "aB_BFu0s_Sf.v2"); + } +} +static Arrange_To_Call_Me vaB_BFu0s_Sf(Test_aB_BFu0s_Sf, "aB_BFu0s_Sf", ABISELECT(3,3)); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_aB_Sf_BFu0c() +{ + { + init_simple_test("aB_Sf_BFu0c"); + static aB_Sf_BFu0c lv; + check2(sizeof(lv), 2, "sizeof(aB_Sf_BFu0c)"); + check2(__alignof__(lv), 1, "__alignof__(aB_Sf_BFu0c)"); + check_field_offset(lv, v1, 0, "aB_Sf_BFu0c.v1"); + check_field_offset(lv, v2, 1, "aB_Sf_BFu0c.v2"); + } +} +static Arrange_To_Call_Me vaB_Sf_BFu0c(Test_aB_Sf_BFu0c, "aB_Sf_BFu0c", 2); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_aB_Sf_BFu0i() +{ + { + init_simple_test("aB_Sf_BFu0i"); + static aB_Sf_BFu0i lv; + check2(sizeof(lv), ABISELECT(4,4), "sizeof(aB_Sf_BFu0i)"); + check2(__alignof__(lv), 1, "__alignof__(aB_Sf_BFu0i)"); + check_field_offset(lv, v1, 0, "aB_Sf_BFu0i.v1"); + check_field_offset(lv, v2, 1, "aB_Sf_BFu0i.v2"); + } +} +static Arrange_To_Call_Me vaB_Sf_BFu0i(Test_aB_Sf_BFu0i, "aB_Sf_BFu0i", ABISELECT(4,4)); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_aB_Sf_BFu0ll() +{ + { + init_simple_test("aB_Sf_BFu0ll"); + static aB_Sf_BFu0ll lv; + check2(sizeof(lv), ABISELECT(8,4), "sizeof(aB_Sf_BFu0ll)"); + check2(__alignof__(lv), 1, "__alignof__(aB_Sf_BFu0ll)"); + check_field_offset(lv, v1, 0, "aB_Sf_BFu0ll.v1"); + check_field_offset(lv, v2, 1, "aB_Sf_BFu0ll.v2"); + } +} +static Arrange_To_Call_Me vaB_Sf_BFu0ll(Test_aB_Sf_BFu0ll, "aB_Sf_BFu0ll", ABISELECT(8,4)); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_aB_Sf_BFu0s() +{ + { + init_simple_test("aB_Sf_BFu0s"); + static aB_Sf_BFu0s lv; + check2(sizeof(lv), 2, "sizeof(aB_Sf_BFu0s)"); + check2(__alignof__(lv), 1, "__alignof__(aB_Sf_BFu0s)"); + check_field_offset(lv, v1, 0, "aB_Sf_BFu0s.v1"); + check_field_offset(lv, v2, 1, "aB_Sf_BFu0s.v2"); + } +} +static Arrange_To_Call_Me vaB_Sf_BFu0s(Test_aB_Sf_BFu0s, "aB_Sf_BFu0s", 2); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_aBFu0c_B_Sf() +{ + { + init_simple_test("aBFu0c_B_Sf"); + static aBFu0c_B_Sf lv; + check2(sizeof(lv), 2, "sizeof(aBFu0c_B_Sf)"); + check2(__alignof__(lv), 1, "__alignof__(aBFu0c_B_Sf)"); + check_field_offset(lv, v1, 0, "aBFu0c_B_Sf.v1"); + check_field_offset(lv, v2, 1, "aBFu0c_B_Sf.v2"); + } +} +static Arrange_To_Call_Me vaBFu0c_B_Sf(Test_aBFu0c_B_Sf, "aBFu0c_B_Sf", 2); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_aBFu0c_Sf_B() +{ + { + init_simple_test("aBFu0c_Sf_B"); + static aBFu0c_Sf_B lv; + check2(sizeof(lv), 2, "sizeof(aBFu0c_Sf_B)"); + check2(__alignof__(lv), 1, "__alignof__(aBFu0c_Sf_B)"); + check_field_offset(lv, v1, 0, "aBFu0c_Sf_B.v1"); + check_field_offset(lv, v2, 1, "aBFu0c_Sf_B.v2"); + } +} +static Arrange_To_Call_Me vaBFu0c_Sf_B(Test_aBFu0c_Sf_B, "aBFu0c_Sf_B", 2); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_aBFu0i_B_Sf() +{ + { + init_simple_test("aBFu0i_B_Sf"); + static aBFu0i_B_Sf lv; + check2(sizeof(lv), 2, "sizeof(aBFu0i_B_Sf)"); + check2(__alignof__(lv), 1, "__alignof__(aBFu0i_B_Sf)"); + check_field_offset(lv, v1, 0, "aBFu0i_B_Sf.v1"); + check_field_offset(lv, v2, 1, "aBFu0i_B_Sf.v2"); + } +} +static Arrange_To_Call_Me vaBFu0i_B_Sf(Test_aBFu0i_B_Sf, "aBFu0i_B_Sf", 2); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_aBFu0i_Sf_B() +{ + { + init_simple_test("aBFu0i_Sf_B"); + static aBFu0i_Sf_B lv; + check2(sizeof(lv), 2, "sizeof(aBFu0i_Sf_B)"); + check2(__alignof__(lv), 1, "__alignof__(aBFu0i_Sf_B)"); + check_field_offset(lv, v1, 0, "aBFu0i_Sf_B.v1"); + check_field_offset(lv, v2, 1, "aBFu0i_Sf_B.v2"); + } +} +static Arrange_To_Call_Me vaBFu0i_Sf_B(Test_aBFu0i_Sf_B, "aBFu0i_Sf_B", 2); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_aBFu0ll_B_Sf() +{ + { + init_simple_test("aBFu0ll_B_Sf"); + static aBFu0ll_B_Sf lv; + check2(sizeof(lv), 2, "sizeof(aBFu0ll_B_Sf)"); + check2(__alignof__(lv), 1, "__alignof__(aBFu0ll_B_Sf)"); + check_field_offset(lv, v1, 0, "aBFu0ll_B_Sf.v1"); + check_field_offset(lv, v2, 1, "aBFu0ll_B_Sf.v2"); + } +} +static Arrange_To_Call_Me vaBFu0ll_B_Sf(Test_aBFu0ll_B_Sf, "aBFu0ll_B_Sf", 2); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_aBFu0ll_Sf_B() +{ + { + init_simple_test("aBFu0ll_Sf_B"); + static aBFu0ll_Sf_B lv; + check2(sizeof(lv), 2, "sizeof(aBFu0ll_Sf_B)"); + check2(__alignof__(lv), 1, "__alignof__(aBFu0ll_Sf_B)"); + check_field_offset(lv, v1, 0, "aBFu0ll_Sf_B.v1"); + check_field_offset(lv, v2, 1, "aBFu0ll_Sf_B.v2"); + } +} +static Arrange_To_Call_Me vaBFu0ll_Sf_B(Test_aBFu0ll_Sf_B, "aBFu0ll_Sf_B", 2); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_aBFu0s_B_Sf() +{ + { + init_simple_test("aBFu0s_B_Sf"); + static aBFu0s_B_Sf lv; + check2(sizeof(lv), 2, "sizeof(aBFu0s_B_Sf)"); + check2(__alignof__(lv), 1, "__alignof__(aBFu0s_B_Sf)"); + check_field_offset(lv, v1, 0, "aBFu0s_B_Sf.v1"); + check_field_offset(lv, v2, 1, "aBFu0s_B_Sf.v2"); + } +} +static Arrange_To_Call_Me vaBFu0s_B_Sf(Test_aBFu0s_B_Sf, "aBFu0s_B_Sf", 2); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_aBFu0s_Sf_B() +{ + { + init_simple_test("aBFu0s_Sf_B"); + static aBFu0s_Sf_B lv; + check2(sizeof(lv), 2, "sizeof(aBFu0s_Sf_B)"); + check2(__alignof__(lv), 1, "__alignof__(aBFu0s_Sf_B)"); + check_field_offset(lv, v1, 0, "aBFu0s_Sf_B.v1"); + check_field_offset(lv, v2, 1, "aBFu0s_Sf_B.v2"); + } +} +static Arrange_To_Call_Me vaBFu0s_Sf_B(Test_aBFu0s_Sf_B, "aBFu0s_Sf_B", 2); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_aSf_B_BFu0c() +{ + { + init_simple_test("aSf_B_BFu0c"); + static aSf_B_BFu0c lv; + check2(sizeof(lv), 2, "sizeof(aSf_B_BFu0c)"); + check2(__alignof__(lv), 1, "__alignof__(aSf_B_BFu0c)"); + check_field_offset(lv, v1, 0, "aSf_B_BFu0c.v1"); + check_field_offset(lv, v2, 1, "aSf_B_BFu0c.v2"); + } +} +static Arrange_To_Call_Me vaSf_B_BFu0c(Test_aSf_B_BFu0c, "aSf_B_BFu0c", 2); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_aSf_B_BFu0i() +{ + { + init_simple_test("aSf_B_BFu0i"); + static aSf_B_BFu0i lv; + check2(sizeof(lv), ABISELECT(4,4), "sizeof(aSf_B_BFu0i)"); + check2(__alignof__(lv), 1, "__alignof__(aSf_B_BFu0i)"); + check_field_offset(lv, v1, 0, "aSf_B_BFu0i.v1"); + check_field_offset(lv, v2, 1, "aSf_B_BFu0i.v2"); + } +} +static Arrange_To_Call_Me vaSf_B_BFu0i(Test_aSf_B_BFu0i, "aSf_B_BFu0i", ABISELECT(4,4)); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_aSf_B_BFu0ll() +{ + { + init_simple_test("aSf_B_BFu0ll"); + static aSf_B_BFu0ll lv; + check2(sizeof(lv), ABISELECT(8,4), "sizeof(aSf_B_BFu0ll)"); + check2(__alignof__(lv), 1, "__alignof__(aSf_B_BFu0ll)"); + check_field_offset(lv, v1, 0, "aSf_B_BFu0ll.v1"); + check_field_offset(lv, v2, 1, "aSf_B_BFu0ll.v2"); + } +} +static Arrange_To_Call_Me vaSf_B_BFu0ll(Test_aSf_B_BFu0ll, "aSf_B_BFu0ll", ABISELECT(8,4)); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_aSf_B_BFu0s() +{ + { + init_simple_test("aSf_B_BFu0s"); + static aSf_B_BFu0s lv; + check2(sizeof(lv), 2, "sizeof(aSf_B_BFu0s)"); + check2(__alignof__(lv), 1, "__alignof__(aSf_B_BFu0s)"); + check_field_offset(lv, v1, 0, "aSf_B_BFu0s.v1"); + check_field_offset(lv, v2, 1, "aSf_B_BFu0s.v2"); + } +} +static Arrange_To_Call_Me vaSf_B_BFu0s(Test_aSf_B_BFu0s, "aSf_B_BFu0s", 2); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_aSf_BFu0c_B() +{ + { + init_simple_test("aSf_BFu0c_B"); + static aSf_BFu0c_B lv; + check2(sizeof(lv), 2, "sizeof(aSf_BFu0c_B)"); + check2(__alignof__(lv), 1, "__alignof__(aSf_BFu0c_B)"); + check_field_offset(lv, v1, 0, "aSf_BFu0c_B.v1"); + check_field_offset(lv, v2, 1, "aSf_BFu0c_B.v2"); + } +} +static Arrange_To_Call_Me vaSf_BFu0c_B(Test_aSf_BFu0c_B, "aSf_BFu0c_B", 2); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_aSf_BFu0i_B() +{ + { + init_simple_test("aSf_BFu0i_B"); + static aSf_BFu0i_B lv; + check2(sizeof(lv), ABISELECT(5,5), "sizeof(aSf_BFu0i_B)"); + check2(__alignof__(lv), 1, "__alignof__(aSf_BFu0i_B)"); + check_field_offset(lv, v1, 0, "aSf_BFu0i_B.v1"); + check_field_offset(lv, v2, ABISELECT(4,4), "aSf_BFu0i_B.v2"); + } +} +static Arrange_To_Call_Me vaSf_BFu0i_B(Test_aSf_BFu0i_B, "aSf_BFu0i_B", ABISELECT(5,5)); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_aSf_BFu0ll_B() +{ + { + init_simple_test("aSf_BFu0ll_B"); + static aSf_BFu0ll_B lv; + check2(sizeof(lv), ABISELECT(9,5), "sizeof(aSf_BFu0ll_B)"); + check2(__alignof__(lv), 1, "__alignof__(aSf_BFu0ll_B)"); + check_field_offset(lv, v1, 0, "aSf_BFu0ll_B.v1"); + check_field_offset(lv, v2, ABISELECT(8,4), "aSf_BFu0ll_B.v2"); + } +} +static Arrange_To_Call_Me vaSf_BFu0ll_B(Test_aSf_BFu0ll_B, "aSf_BFu0ll_B", ABISELECT(9,5)); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_aSf_BFu0s_B() +{ + { + init_simple_test("aSf_BFu0s_B"); + static aSf_BFu0s_B lv; + check2(sizeof(lv), ABISELECT(3,3), "sizeof(aSf_BFu0s_B)"); + check2(__alignof__(lv), 1, "__alignof__(aSf_BFu0s_B)"); + check_field_offset(lv, v1, 0, "aSf_BFu0s_B.v1"); + check_field_offset(lv, v2, ABISELECT(2,2), "aSf_BFu0s_B.v2"); + } +} +static Arrange_To_Call_Me vaSf_BFu0s_B(Test_aSf_BFu0s_B, "aSf_BFu0s_B", ABISELECT(3,3)); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_B_BFu0c_Sf() +{ + { + init_simple_test("B_BFu0c_Sf"); + static B_BFu0c_Sf lv; + check2(sizeof(lv), 2, "sizeof(B_BFu0c_Sf)"); + check2(__alignof__(lv), 1, "__alignof__(B_BFu0c_Sf)"); + check_field_offset(lv, v1, 0, "B_BFu0c_Sf.v1"); + check_field_offset(lv, v2, 1, "B_BFu0c_Sf.v2"); + } +} +static Arrange_To_Call_Me vB_BFu0c_Sf(Test_B_BFu0c_Sf, "B_BFu0c_Sf", 2); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_B_BFu0i_Sf() +{ + { + init_simple_test("B_BFu0i_Sf"); + static B_BFu0i_Sf lv; + check2(sizeof(lv), ABISELECT(5,5), "sizeof(B_BFu0i_Sf)"); + check2(__alignof__(lv), ABISELECT(1,1), "__alignof__(B_BFu0i_Sf)"); + check_field_offset(lv, v1, 0, "B_BFu0i_Sf.v1"); + check_field_offset(lv, v2, ABISELECT(4,4), "B_BFu0i_Sf.v2"); + } +} +static Arrange_To_Call_Me vB_BFu0i_Sf(Test_B_BFu0i_Sf, "B_BFu0i_Sf", ABISELECT(5,5)); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_B_BFu0ll_Sf() +{ + { + init_simple_test("B_BFu0ll_Sf"); + static B_BFu0ll_Sf lv; + check2(sizeof(lv), ABISELECT(9,5), "sizeof(B_BFu0ll_Sf)"); + check2(__alignof__(lv), ABISELECT(1,1), "__alignof__(B_BFu0ll_Sf)"); + check_field_offset(lv, v1, 0, "B_BFu0ll_Sf.v1"); + check_field_offset(lv, v2, ABISELECT(8,4), "B_BFu0ll_Sf.v2"); + } +} +static Arrange_To_Call_Me vB_BFu0ll_Sf(Test_B_BFu0ll_Sf, "B_BFu0ll_Sf", ABISELECT(9,5)); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_B_BFu0s_Sf() +{ + { + init_simple_test("B_BFu0s_Sf"); + static B_BFu0s_Sf lv; + check2(sizeof(lv), ABISELECT(3,3), "sizeof(B_BFu0s_Sf)"); + check2(__alignof__(lv), ABISELECT(1,1), "__alignof__(B_BFu0s_Sf)"); + check_field_offset(lv, v1, 0, "B_BFu0s_Sf.v1"); + check_field_offset(lv, v2, ABISELECT(2,2), "B_BFu0s_Sf.v2"); + } +} +static Arrange_To_Call_Me vB_BFu0s_Sf(Test_B_BFu0s_Sf, "B_BFu0s_Sf", ABISELECT(3,3)); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_B_Sf_BFu0c() +{ + { + init_simple_test("B_Sf_BFu0c"); + static B_Sf_BFu0c lv; + check2(sizeof(lv), 2, "sizeof(B_Sf_BFu0c)"); + check2(__alignof__(lv), 1, "__alignof__(B_Sf_BFu0c)"); + check_field_offset(lv, v1, 0, "B_Sf_BFu0c.v1"); + check_field_offset(lv, v2, 1, "B_Sf_BFu0c.v2"); + } +} +static Arrange_To_Call_Me vB_Sf_BFu0c(Test_B_Sf_BFu0c, "B_Sf_BFu0c", 2); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_B_Sf_BFu0i() +{ + { + init_simple_test("B_Sf_BFu0i"); + static B_Sf_BFu0i lv; + check2(sizeof(lv), ABISELECT(4,4), "sizeof(B_Sf_BFu0i)"); + check2(__alignof__(lv), ABISELECT(1,1), "__alignof__(B_Sf_BFu0i)"); + check_field_offset(lv, v1, 0, "B_Sf_BFu0i.v1"); + check_field_offset(lv, v2, 1, "B_Sf_BFu0i.v2"); + } +} +static Arrange_To_Call_Me vB_Sf_BFu0i(Test_B_Sf_BFu0i, "B_Sf_BFu0i", ABISELECT(4,4)); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_B_Sf_BFu0ll() +{ + { + init_simple_test("B_Sf_BFu0ll"); + static B_Sf_BFu0ll lv; + check2(sizeof(lv), ABISELECT(8,4), "sizeof(B_Sf_BFu0ll)"); + check2(__alignof__(lv), ABISELECT(1,1), "__alignof__(B_Sf_BFu0ll)"); + check_field_offset(lv, v1, 0, "B_Sf_BFu0ll.v1"); + check_field_offset(lv, v2, 1, "B_Sf_BFu0ll.v2"); + } +} +static Arrange_To_Call_Me vB_Sf_BFu0ll(Test_B_Sf_BFu0ll, "B_Sf_BFu0ll", ABISELECT(8,4)); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_B_Sf_BFu0s() +{ + { + init_simple_test("B_Sf_BFu0s"); + static B_Sf_BFu0s lv; + check2(sizeof(lv), 2, "sizeof(B_Sf_BFu0s)"); + check2(__alignof__(lv), ABISELECT(1,1), "__alignof__(B_Sf_BFu0s)"); + check_field_offset(lv, v1, 0, "B_Sf_BFu0s.v1"); + check_field_offset(lv, v2, 1, "B_Sf_BFu0s.v2"); + } +} +static Arrange_To_Call_Me vB_Sf_BFu0s(Test_B_Sf_BFu0s, "B_Sf_BFu0s", 2); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_BFu0c_B_Sf() +{ + { + init_simple_test("BFu0c_B_Sf"); + static BFu0c_B_Sf lv; + check2(sizeof(lv), 2, "sizeof(BFu0c_B_Sf)"); + check2(__alignof__(lv), 1, "__alignof__(BFu0c_B_Sf)"); + check_field_offset(lv, v1, 0, "BFu0c_B_Sf.v1"); + check_field_offset(lv, v2, 1, "BFu0c_B_Sf.v2"); + } +} +static Arrange_To_Call_Me vBFu0c_B_Sf(Test_BFu0c_B_Sf, "BFu0c_B_Sf", 2); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_BFu0c_Sf_B() +{ + { + init_simple_test("BFu0c_Sf_B"); + static BFu0c_Sf_B lv; + check2(sizeof(lv), 2, "sizeof(BFu0c_Sf_B)"); + check2(__alignof__(lv), 1, "__alignof__(BFu0c_Sf_B)"); + check_field_offset(lv, v1, 0, "BFu0c_Sf_B.v1"); + check_field_offset(lv, v2, 1, "BFu0c_Sf_B.v2"); + } +} +static Arrange_To_Call_Me vBFu0c_Sf_B(Test_BFu0c_Sf_B, "BFu0c_Sf_B", 2); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_BFu0i_B_Sf() +{ + { + init_simple_test("BFu0i_B_Sf"); + static BFu0i_B_Sf lv; + check2(sizeof(lv), ABISELECT(2,2), "sizeof(BFu0i_B_Sf)"); + check2(__alignof__(lv), ABISELECT(1,1), "__alignof__(BFu0i_B_Sf)"); + check_field_offset(lv, v1, 0, "BFu0i_B_Sf.v1"); + check_field_offset(lv, v2, 1, "BFu0i_B_Sf.v2"); + } +} +static Arrange_To_Call_Me vBFu0i_B_Sf(Test_BFu0i_B_Sf, "BFu0i_B_Sf", ABISELECT(2,2)); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_BFu0i_Sf_B() +{ + { + init_simple_test("BFu0i_Sf_B"); + static BFu0i_Sf_B lv; + check2(sizeof(lv), ABISELECT(2,2), "sizeof(BFu0i_Sf_B)"); + check2(__alignof__(lv), ABISELECT(1,1), "__alignof__(BFu0i_Sf_B)"); + check_field_offset(lv, v1, 0, "BFu0i_Sf_B.v1"); + check_field_offset(lv, v2, 1, "BFu0i_Sf_B.v2"); + } +} +static Arrange_To_Call_Me vBFu0i_Sf_B(Test_BFu0i_Sf_B, "BFu0i_Sf_B", ABISELECT(2,2)); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_BFu0ll_B_Sf() +{ + { + init_simple_test("BFu0ll_B_Sf"); + static BFu0ll_B_Sf lv; + check2(sizeof(lv), ABISELECT(2,2), "sizeof(BFu0ll_B_Sf)"); + check2(__alignof__(lv), ABISELECT(1,1), "__alignof__(BFu0ll_B_Sf)"); + check_field_offset(lv, v1, 0, "BFu0ll_B_Sf.v1"); + check_field_offset(lv, v2, 1, "BFu0ll_B_Sf.v2"); + } +} +static Arrange_To_Call_Me vBFu0ll_B_Sf(Test_BFu0ll_B_Sf, "BFu0ll_B_Sf", ABISELECT(2,2)); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_BFu0ll_Sf_B() +{ + { + init_simple_test("BFu0ll_Sf_B"); + static BFu0ll_Sf_B lv; + check2(sizeof(lv), ABISELECT(2,2), "sizeof(BFu0ll_Sf_B)"); + check2(__alignof__(lv), ABISELECT(1,1), "__alignof__(BFu0ll_Sf_B)"); + check_field_offset(lv, v1, 0, "BFu0ll_Sf_B.v1"); + check_field_offset(lv, v2, 1, "BFu0ll_Sf_B.v2"); + } +} +static Arrange_To_Call_Me vBFu0ll_Sf_B(Test_BFu0ll_Sf_B, "BFu0ll_Sf_B", ABISELECT(2,2)); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_BFu0s_B_Sf() +{ + { + init_simple_test("BFu0s_B_Sf"); + static BFu0s_B_Sf lv; + check2(sizeof(lv), 2, "sizeof(BFu0s_B_Sf)"); + check2(__alignof__(lv), ABISELECT(1,1), "__alignof__(BFu0s_B_Sf)"); + check_field_offset(lv, v1, 0, "BFu0s_B_Sf.v1"); + check_field_offset(lv, v2, 1, "BFu0s_B_Sf.v2"); + } +} +static Arrange_To_Call_Me vBFu0s_B_Sf(Test_BFu0s_B_Sf, "BFu0s_B_Sf", 2); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_BFu0s_Sf_B() +{ + { + init_simple_test("BFu0s_Sf_B"); + static BFu0s_Sf_B lv; + check2(sizeof(lv), 2, "sizeof(BFu0s_Sf_B)"); + check2(__alignof__(lv), ABISELECT(1,1), "__alignof__(BFu0s_Sf_B)"); + check_field_offset(lv, v1, 0, "BFu0s_Sf_B.v1"); + check_field_offset(lv, v2, 1, "BFu0s_Sf_B.v2"); + } +} +static Arrange_To_Call_Me vBFu0s_Sf_B(Test_BFu0s_Sf_B, "BFu0s_Sf_B", 2); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_Sf_B_BFu0c() +{ + { + init_simple_test("Sf_B_BFu0c"); + static Sf_B_BFu0c lv; + check2(sizeof(lv), 2, "sizeof(Sf_B_BFu0c)"); + check2(__alignof__(lv), 1, "__alignof__(Sf_B_BFu0c)"); + check_field_offset(lv, v1, 0, "Sf_B_BFu0c.v1"); + check_field_offset(lv, v2, 1, "Sf_B_BFu0c.v2"); + } +} +static Arrange_To_Call_Me vSf_B_BFu0c(Test_Sf_B_BFu0c, "Sf_B_BFu0c", 2); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_Sf_B_BFu0i() +{ + { + init_simple_test("Sf_B_BFu0i"); + static Sf_B_BFu0i lv; + check2(sizeof(lv), ABISELECT(4,4), "sizeof(Sf_B_BFu0i)"); + check2(__alignof__(lv), ABISELECT(1,1), "__alignof__(Sf_B_BFu0i)"); + check_field_offset(lv, v1, 0, "Sf_B_BFu0i.v1"); + check_field_offset(lv, v2, 1, "Sf_B_BFu0i.v2"); + } +} +static Arrange_To_Call_Me vSf_B_BFu0i(Test_Sf_B_BFu0i, "Sf_B_BFu0i", ABISELECT(4,4)); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_Sf_B_BFu0ll() +{ + { + init_simple_test("Sf_B_BFu0ll"); + static Sf_B_BFu0ll lv; + check2(sizeof(lv), ABISELECT(8,4), "sizeof(Sf_B_BFu0ll)"); + check2(__alignof__(lv), ABISELECT(1,1), "__alignof__(Sf_B_BFu0ll)"); + check_field_offset(lv, v1, 0, "Sf_B_BFu0ll.v1"); + check_field_offset(lv, v2, 1, "Sf_B_BFu0ll.v2"); + } +} +static Arrange_To_Call_Me vSf_B_BFu0ll(Test_Sf_B_BFu0ll, "Sf_B_BFu0ll", ABISELECT(8,4)); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_Sf_B_BFu0s() +{ + { + init_simple_test("Sf_B_BFu0s"); + static Sf_B_BFu0s lv; + check2(sizeof(lv), 2, "sizeof(Sf_B_BFu0s)"); + check2(__alignof__(lv), ABISELECT(1,1), "__alignof__(Sf_B_BFu0s)"); + check_field_offset(lv, v1, 0, "Sf_B_BFu0s.v1"); + check_field_offset(lv, v2, 1, "Sf_B_BFu0s.v2"); + } +} +static Arrange_To_Call_Me vSf_B_BFu0s(Test_Sf_B_BFu0s, "Sf_B_BFu0s", 2); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_Sf_BFu0c_B() +{ + { + init_simple_test("Sf_BFu0c_B"); + static Sf_BFu0c_B lv; + check2(sizeof(lv), 2, "sizeof(Sf_BFu0c_B)"); + check2(__alignof__(lv), 1, "__alignof__(Sf_BFu0c_B)"); + check_field_offset(lv, v1, 0, "Sf_BFu0c_B.v1"); + check_field_offset(lv, v2, 1, "Sf_BFu0c_B.v2"); + } +} +static Arrange_To_Call_Me vSf_BFu0c_B(Test_Sf_BFu0c_B, "Sf_BFu0c_B", 2); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_Sf_BFu0i_B() +{ + { + init_simple_test("Sf_BFu0i_B"); + static Sf_BFu0i_B lv; + check2(sizeof(lv), ABISELECT(5,5), "sizeof(Sf_BFu0i_B)"); + check2(__alignof__(lv), ABISELECT(1,1), "__alignof__(Sf_BFu0i_B)"); + check_field_offset(lv, v1, 0, "Sf_BFu0i_B.v1"); + check_field_offset(lv, v2, ABISELECT(4,4), "Sf_BFu0i_B.v2"); + } +} +static Arrange_To_Call_Me vSf_BFu0i_B(Test_Sf_BFu0i_B, "Sf_BFu0i_B", ABISELECT(5,5)); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_Sf_BFu0ll_B() +{ + { + init_simple_test("Sf_BFu0ll_B"); + static Sf_BFu0ll_B lv; + check2(sizeof(lv), ABISELECT(9,5), "sizeof(Sf_BFu0ll_B)"); + check2(__alignof__(lv), ABISELECT(1,1), "__alignof__(Sf_BFu0ll_B)"); + check_field_offset(lv, v1, 0, "Sf_BFu0ll_B.v1"); + check_field_offset(lv, v2, ABISELECT(8,4), "Sf_BFu0ll_B.v2"); + } +} +static Arrange_To_Call_Me vSf_BFu0ll_B(Test_Sf_BFu0ll_B, "Sf_BFu0ll_B", ABISELECT(9,5)); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + +#ifdef __cplusplus + + +static void Test_Sf_BFu0s_B() +{ + { + init_simple_test("Sf_BFu0s_B"); + static Sf_BFu0s_B lv; + check2(sizeof(lv), ABISELECT(3,3), "sizeof(Sf_BFu0s_B)"); + check2(__alignof__(lv), ABISELECT(1,1), "__alignof__(Sf_BFu0s_B)"); + check_field_offset(lv, v1, 0, "Sf_BFu0s_B.v1"); + check_field_offset(lv, v2, ABISELECT(2,2), "Sf_BFu0s_B.v2"); + } +} +static Arrange_To_Call_Me vSf_BFu0s_B(Test_Sf_BFu0s_B, "Sf_BFu0s_B", ABISELECT(3,3)); + +#else // __cplusplus + +#endif // __cplusplus + +//============================================================================ + |