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