* 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
5 lines
110 B
C
5 lines
110 B
C
// { dg-do compile { target c++17 } }
|
|
|
|
auto ID = [] (int n) constexpr { return n; };
|
|
constexpr int I = ID(3);
|