summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/pr34054.C
blob: cfc6c4bdc76bd6facdc34793a7a406c2da905b2f (plain)
1
2
3
4
5
// PR c++/34054
// { dg-do compile }
// { dg-options "-std=c++0x" }

template<typename... T> T foo() {} // { dg-error "not expanded|T" }