aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/vt-34755.C
blob: 3ef089db96b504ba6508abba092ef99358e3d13e (plain)
1
2
3
4
5
6
// { dg-do compile { target c++11 } }
template<typename> struct A {};

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

template void foo<A>(A<int>); // { dg-error "does not match" }