summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/vt-34103.C
blob: 3bbbb46a0120d8e2bb28b86fe7b829b33bc70a00 (plain)
1
2
3
4
5
6
7
// { dg-options "-std=c++0x" }
// PR c++/34103
template<typename> struct A {};

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

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