summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/attrib30.C
blob: fd2826a60298de4960baaa822b5bb0a1e32263e5 (plain)
1
2
3
4
5
6
7
8
// { dg-do compile }
// PR c++/35074
template<typename T> struct A
{
  void foo() const;
} __attribute((aligned(4)));

template<typename T> void A<T>::foo() const {}