summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/vt-34755.C
blob: 9d5a3d1ca4d5792736e4cf20bc8228ff98c3f3ae (plain)
1
2
3
4
5
6
// { dg-options "-std=c++0x" }
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" }