// PR c++/105852 // { dg-additional-options -w } template struct Local { friend Local False(int *); }; Local loc; Local False(int *); void New() { False; } Local False(int *) { return Local(); }