blob: 16b4f57335d3aad28621935e5ccc99e94d13841e [file] [log] [blame]
// PR c++/59480
template<typename>
class test {
friend int foo(bool = true); // { dg-error "14:friend declaration" }
template<typename> friend int bar(bool = true); // { dg-error "33:friend declaration" }
};
template class test<bool>;