aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/gen-attrs-38.C
blob: 3db981aeb224d68ea576889d35fca7801d0a68fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { 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;
}