1 // PR c++/64969 2 // { dg-do compile { target c++14 } } 3 // { dg-additional-options "-fconcepts" } 4 f1(auto x)5auto f1(auto x) { return *x; } f2(auto x)6decltype(auto) f2(auto x) { return *x; } 7 auto f3(auto x) -> int { return *x; } 8 9 int i; 10 auto r1 = f1(&i); 11 auto r2 = f2(&i); 12 auto r3 = f3(&i); 13