Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
gen-attrs-51.C
blob: f2b66029e5a06ed87ccbbc49b348b545d32c4e6b [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
typedef
char
layout_type
;
struct
A
{
layout_type member
[[
gnu
::
aligned
(
16
)]];
};
static_assert
(
sizeof
(
A
)
==
16
,
"Alignment should be 16"
);