blob: c4999c59acc9ee2e9dea1c508be6f01b95a0bad0 [file] [log] [blame]
// Testcase from P0170R1
// { dg-do compile { target c++17 } }
static_assert([](int n) { return [&n] { return ++n; }(); }(3) == 4);