* g++.dg/*.C: Use target c++17 instead of explicit dg-options. * lib/g++-dg.exp: Don't test C++11 by default. Add C++17 to the list of default stds to test. From-SVN: r265343
6 lines
227 B
C
6 lines
227 B
C
// { 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" }
|