summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/pr31443.C
blob: 1eb9d318de0065445010f9a7b94119370a030156 (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-options "-std=gnu++0x" }

template<int, typename... T> struct A
{
  template<int N> void foo(A<N,T>); // { dg-error "parameter packs|T" }
};

void bar()
{
  A<0,int>().foo(A<0,int>()); // { dg-error "no member named" }
}