Home
last modified time | relevance | path

Searched refs:aligned_before_struct (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang/test/SemaCXX/
Dalign-x86.cpp46 } aligned_before_struct; typedef
48 static_assert(sizeof(aligned_before_struct) == 3, "");
49 static_assert(sizeof(aligned_before_struct[1]) == 4, "");
50 static_assert(sizeof(aligned_before_struct[2]) == 6, "");
51 static_assert(sizeof(aligned_before_struct[2][1]) == 8, "");
52 static_assert(sizeof(aligned_before_struct[1][2]) == 6, "");
/external/llvm-project/clang/test/Sema/
Dalign-x86.c38 } aligned_before_struct; typedef
40 STATIC_ASSERT(sizeof(aligned_before_struct) == 3);
41 STATIC_ASSERT(sizeof(aligned_before_struct[1]) == 4);
42 STATIC_ASSERT(sizeof(aligned_before_struct[2]) == 6);
43 STATIC_ASSERT(sizeof(aligned_before_struct[2][1]) == 8);
44 STATIC_ASSERT(sizeof(aligned_before_struct[1][2]) == 6);