summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp1y/lambda-generic-this4.C
blob: 38d582bec5e9e76bcf1dab52da4e1c1db998e627 (plain)
1
2
3
4
5
6
7
// PR c++/101717
// { dg-do compile { target c++14 } }

struct x {
  static void f() { }
  void (*_)() = [] { [=](auto) { f(); }(0); };
};