blob: 4575f2513d6bfc35f96d590fecdd091515ed4cfb [file] [log] [blame]
// PR c++/27425, 34274
template<typename T> struct A
{
template<template<T> class> struct B {}; // { dg-error "void|mismatch|expected" }
// { dg-bogus "not supported" "" { target *-*-* } .-1 }
template<T> struct C; // { dg-error "void" }
B<C> b;
};
A<void> a; // { dg-message "required" }