blob: 31d283131a3996ae9eb187f7b5466683c1a2c915 [file] [log] [blame]
// { dg-do compile { target c++11 } }
template<typename... T, typename = T> struct A {}; // { dg-error "parameter pack" }
template<template<typename... T, typename = T> class U> struct B // { dg-error "parameter pack" }
{
template<int> U<int> foo(); // { dg-error "mismatch|constant|wrong|invalid" }
};