Debian Codegraph @

gcc/testsuite/g++.dg/cpp1y/pr60190.C

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