summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/pr31445.C
blob: b3f2b5b09dafbaaf4d328d14a736fd76118c7d0a (plain)
1
2
3
4
5
6
7
8
// { dg-options "-std=gnu++0x" }
template <typename... T> struct A
{
  void foo(T...);
  A(T... t) { foo(t); } // { dg-error "parameter packs|t" }
};

A<int> a(0);