Debian Codegraph @

gcc/testsuite/g++.dg/cpp1y/lambda-defarg7.C

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