summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/attrib38.C
blob: be3c7f2ba1ad7e99751c974dae09d3780c7ebe53 (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR c++/36625

template <int N>
struct A {
  struct S { short f[3]; } __attribute__ ((aligned (N)));
};

int main ()
{
  A<4>::S s;
}