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

A<int> a;