Debian Codegraph @

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

raw
1 // { dg-do compile { target c++14 } }
2
3 template <class T>
4 void f()
5 {
6 auto lam = [](auto a)->decltype(++a) { return a; };
7 }
8
9 int main()
10 {
11 f<int>();
12 }