1 // PR c++/82514
2 // { dg-do compile { target c++14 } }
3 
4 void g();
i(h)5 template <typename h> void i(h) { g(); }
n()6 template <int> void n() {
7   [](auto) {
8     struct p { };
9     i(p{});
10   } ('\n');
11 }
12 
13 auto f = n<1>;
14