blob: b79a599a45e2d3360fb4f81364bf0017873555fe [file] [log] [blame]
// PR 59930 (part) templated class friend declarations cannot have
// default args.
template <class T>
struct S
{
template <class U = int> friend class R; // { dg-error "template friend" }
template <class U = int> friend class S; // { dg-error "template friend" }
};