summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/pr31444.C
blob: b1f86fe7a7ed33546507e6f6355c590285cc9abf (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-options "-std=gnu++0x" }
template<typename... T> struct A
{
  template<int> void foo(A<T>); // { dg-error "not expanded|T" }
};

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