Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
gen-attrs-38.C
blob: 3db981aeb224d68ea576889d35fca7801d0a68fb [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
// PR c++/36625
template
<
int
N
>
struct
A
{
struct
S
{
short
f
[
3
];
}
[[
gnu
::
aligned
(
N
)]];
// { dg-warning "ignored" }
};
int
main
()
{
A
<
4
>::
S s
;
}