// PR c++/60190
// { dg-do compile { target c++14 } }
// { dg-options "" }
auto f = []<int>() -> int() {}; // { dg-error "returning a function|expected" }
// PR c++/60190
// { dg-do compile { target c++14 } }
// { dg-options "" }
auto f = []<int>() -> int() {}; // { dg-error "returning a function|expected" }