PR c++/85553
[official-gcc.git] / gcc / testsuite / g++.dg / ext / attrib31.C
blobc614ed4f4086d6a9c32128f6d2fdb46521f66533
1 // PR c++/35097
3 template<int> struct A;
5 template<> struct A<0>
7   typedef int X __attribute((aligned(4)));
8 };
10 template<typename T> void foo(const A<0>::X&, T);
12 void bar()
14   foo(A<0>::X(), 0);