2 // { dg-options "-std=c++0x" }
4 template<class U, class V> //#1
5 struct foo {}; // { dg-error "provided for|foo" }
7 template<class U, class V=char>
10 template<template<class... U> class... TT>
12 template<class... Args>
13 using mem = P<TT<Args...>...>;//#2 { dg-error "wrong number of|arguments" }
16 bar<foo>::mem<int, char> b;//#3 { dg-error "invalid type" }