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