1 // PR c++/59766 2 // { dg-do compile { target c++14 } } 3 4 struct T { fT5 friend auto f() { } 6 }; 7