Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
gen-attrs-46.C
blob: 53fcb77ff7b685421b7fbb366d9c16612af29d3c [
file
] [
log
] [
blame
]
// PR c++/40821
// { dg-do compile { target c++11 } }
struct
[[
gnu
::
aligned
(
8
)]
S1
{
int
i
;
};
// { dg-error "" }
struct
[
aligned
(
8
)
S2
{
int
i
;
};
// { dg-error "" }