repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[libc++][NFC] Remove trailing whitespace from release notes
[llvm-project.git]
/
lldb
/
test
/
API
/
lang
/
cpp
/
alignas_base_class
/
main.cpp
blob
a37919deaebdc84ba2438cb5aa11db158dd8b0ee
1
struct
B1
{
2
char
f1
;
3
};
4
5
struct
alignas
(
8
)
B2
{
6
char
f2
;
7
};
8
9
struct
D
:
B1
,
B2
{};
10
11
D d3g
;
12
13
struct
alignas
(
8
)
EmptyClassAlign8
{
14
}
t
;
15
16
struct
alignas
(
8
)
__attribute__
((
packed
))
AlignedAndPackedBase
{
17
}
foo
;
18
19
struct
Derived
:
AlignedAndPackedBase
{
20
}
bar
;
21
static_assert
(
alignof
(
Derived
) ==
8
);
22
23
int
main
() {}