blob: 3d7ba5497d086b58971a43c5a0993fb60ea720c9 [file] [log] [blame]
// PR c++/65370
template <typename> class C
{
template <typename U>
C(const C<U>&, bool = false);
};
template<>
class C<int>
{
template <typename U>
C(const C<U>&, bool);
};
template <typename U> C<int>::C(const C<U>&, bool = false) { } // { dg-error "default arguments" }