Files
gcc-reflection/gcc/testsuite/g++.dg/cpp1y/lambda-generic-ice8.C
2017-10-11 09:04:29 +00:00

17 lines
211 B
C

// PR c++/82230
// { dg-do compile { target c++14 } }
template <class>
struct c
{
template <class>
void f()
{
[](auto) { auto x = [] {}; }(0);
}
};
int main()
{
c<int>{}.f<int>();
}