Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
align2.C
blob: da54bd9386b34148c522bd3afc117f2ef0329715 [
file
] [
log
] [
blame
]
// PR c++/10179
struct
__attribute
((
aligned
(
__alignof
(
double
))))
A
{
/* empty */
};
struct
T
:
public
A
{
char
c
;
};
template
<bool>
struct
StaticAssert
;
template
<>
struct
StaticAssert
<true>
{};
StaticAssert
<
__alignof
(
T
)
==
__alignof
(
double
)>
d
;