Debian Codegraph @

gcc/testsuite/g++.dg/cpp1y/lambda-generic-func1.C

raw
1 // PR c++/89241
2 // { dg-do compile { target c++14 } }
3
4 template <typename al> void m(al p) {
5 p(1);
6 }
7
8 template <typename ax> void f() {
9 m([](auto) { __func__; });
10 }
11
12 template void f<int>();