| 1 |
// PR c++/85147 |
| 2 |
// { dg-do compile { target c++11 } } |
| 3 |
|
| 4 |
template<typename T> struct A |
| 5 |
{ |
| 6 |
template<template<...T> class...> struct B {}; // { dg-error "expected|mismatch" } |
| 7 |
}; |
| 8 |
|
| 9 |
A<int>::B<> b; // { dg-error "does not name a template type" } |