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 main()9 int main () 10 { 11 A<4>::S s; 12 } 13