Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/gen-attrs-38.C

raw
1 // { dg-do compile { target c++11 } }
2 // PR c++/36625
3
4 template <int N>
5 struct A {
6 struct S { short f[3]; } [[gnu::aligned (N)]]; // { dg-warning "ignored" }
7 };
8
9 int main ()
10 {
11 A<4>::S s;
12 }