[libc++][NFC] Remove trailing whitespace from release notes
[llvm-project.git] / lldb / test / API / lang / cpp / alignas_base_class / main.cpp
bloba37919deaebdc84ba2438cb5aa11db158dd8b0ee
1 struct B1 {
2 char f1;
3 };
5 struct alignas(8) B2 {
6 char f2;
7 };
9 struct D : B1, B2 {};
11 D d3g;
13 struct alignas(8) EmptyClassAlign8 {
14 } t;
16 struct alignas(8) __attribute__((packed)) AlignedAndPackedBase {
17 } foo;
19 struct Derived : AlignedAndPackedBase {
20 } bar;
21 static_assert(alignof(Derived) == 8);
23 int main() {}