blob: eceb36219aa9ae57551288a2bf3adabca4be8b51 [file] [log] [blame]
// PR c++/27496
// { dg-do compile }
template<int> struct A
{
template<void> friend class X; // { dg-error "void|valid type" }
};
A<0> a;