Debian Codegraph @

gcc/testsuite/g++.dg/cpp1y/lambda-var-templ1.C

raw
1 // PR c++/67041
2 // { dg-do compile { target c++14 } }
3
4 template<typename T>
5 auto test = [](){
6 return T{};
7 };
8
9 int main() {
10 test<int>();
11 }