1 // { dg-options -std=c++17 } 2 3 constexpr auto Add5 = [](int i) { return i+5; }; 4 5 constexpr int x = Add5(4); 6 static_assert(x==9); 7