tree-optimization/116481 - avoid building function_type[]
[official-gcc.git] / gcc / testsuite / g++.dg / cpp1y / lambda-generic-ice9.C
bloba07acfff8847fdcc22fc7088d0c0cacab480b34a
1 // PR c++/84802
2 // { dg-do compile { target c++14 } }
4 template <class T> struct A { };
6 void f (A<int>& ar)
8   [](const auto& x)
9     { return [x]{}(); }
10   (ar);