aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/vt-34961.C
blob: 11315ca14e97a3bf72e7644d92ab0417082415d8 (plain)
1
2
3
4
5
6
7
// { dg-do compile { target c++11 } }
template<typename... T> struct A
{
  static const int i __attribute__((aligned(__alignof(T)))) = 0; // { dg-error "not expanded|T" }
}; 

A<int> a;