blob: 6cdb322f1dfc84efe318c1a52f4cf3d276439c99 [file] [log] [blame]
// PR c++/59480
void f(int, int, int=0); // { dg-message "6:previous" }
class C {
friend void f(int, int=0, int) {} // { dg-error "15:friend declaration" }
};