summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/vt-34961.C
blob: 3a872146e257a513c63fc862bae7758026b69eec (plain)
1
2
3
4
5
6
7
// { dg-options "-std=c++0x" }
template<typename... T> struct A
{
  static const int i __attribute__((aligned(__alignof(T)))) = 0; // { dg-error "not expanded|T" }
}; 

A<int> a;