Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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"
);