blob: 15310cfe74d07e5f80b9766d00cfccf385b0ad95 [file] [log] [blame]
// { dg-options "-std=c++0x" }
template<typename... T, typename = T> struct A {}; // { dg-error "must be at the end" }
template<template<typename... T, typename = T> class U> struct B // { dg-error "must be at the end" }
{
template<int> U<int> foo(); // { dg-error "mismatch|constant|invalid|invalid" }
};