blob: 0323a0d05fc6afc6cf0f0a4dc3a2f9b2b1b1ea36 [file] [log] [blame]
// { dg-do compile { target c++17 } }
auto l1 = []() constexpr constexpr { }; // { dg-error "duplicate" }
auto l2 = []() mutable mutable { }; // { dg-error "duplicate" }
auto l3 = []() static { }; // { dg-error "static' only valid in lambda with" "" { target c++20_down } }